Live data from Hacker News

Ask HN: What do you want to see in Rails 4.1?

news.ycombinator.com

51–60 of 94 posts

Re: Ask HN: What do you want to see in Rails 4.1?

#51

I would love to see rails-api become a first-class player in the Rails ecosystem.

Given that I help maintain it, you can imagine that I'm a bit biased here. ;)

That said, other than increased usage, I don't think being included in core would actually do anything that we can't already do ourselves outside of core.

Re: Ask HN: What do you want to see in Rails 4.1?

#52

Hey Steve, great of you to ask! Here are some suggestions: * Streamline the command line. Why rake to migrate, but rails to generate a migration? I know, I know. But new folks to Rails do not know. And it would be better if there was just one tool that does it all. * Get rid of the global magic functions. users_path is nice and sweet, but where is it defined? Object? Kernel? Why can't I just call a method on my app.…

* the tension between 'rails' and 'rake' has always been there, and I see it trip up beginners. There is a gem that sorta does this, I'll give this some thought. * Making apps no longer a singleton has been happening on master already, so expect to see a bunch of that. * I like multipart emails too, since I prefer plaintext emails. * Working on the tokens issue, I already commented about it elsewhere in this thread.…

Queues were explicitly brought back to 4.1

Hurray!

Re: Ask HN: What do you want to see in Rails 4.1?

#53
post #46

I consult for a number of startups, both at seed stage and with significant revenue. Mostly I do web applications, as opposed to "sites." I'm seeing more organizations learning towards frameworks like Ember.js and Angular.js. I'm also hearing lots of things like, "When I update the data in this browser, I want the changes to automatically propagate to other browsers." Among other things, this means I need robust plug…

Totally. I help out with rails-api for a reason. That said, I think Rails is already pretty great at this, it's more marketing than ability.

Re: Ask HN: What do you want to see in Rails 4.1?

#54
post #46

I consult for a number of startups, both at seed stage and with significant revenue. Mostly I do web applications, as opposed to "sites." I'm seeing more organizations learning towards frameworks like Ember.js and Angular.js. I'm also hearing lots of things like, "When I update the data in this browser, I want the changes to automatically propagate to other browsers." Among other things, this means I need robust plug…

Perhaps I'm mistaken, but isn't this somewhat addressed with ActionController::Live? http://api.rubyonrails.org/classes/ActionController/Live.htm...

Re: Ask HN: What do you want to see in Rails 4.1?

#55

Thanks for asking! Are queues ready for prime-time yet? Another vote for async mailers please - also sending more than one mail at once would be nice. Sorting out secret_token.rb would be good - not sure what would work, ENV variable, auto-generating a file in production if not there, but there must be a better solution which lets you work both on Heroku and let's people avoid having secrets stored in version control…

Queues are not ready yet, but it's something that's being worked on. Of course, async mailers are tied up in that as well.

The secret_token issue is one I'm personally interested in, we've been talking about the best way to fix it.

Yeah, we already have has_secure_password, which helps with authentication, but you still end up adding gems for authorization. I'll give this some thought, thanks.

Re: Ask HN: What do you want to see in Rails 4.1?

#57

Hey Steve, great of you to ask! Here are some suggestions: * Streamline the command line. Why rake to migrate, but rails to generate a migration? I know, I know. But new folks to Rails do not know. And it would be better if there was just one tool that does it all. * Get rid of the global magic functions. users_path is nice and sweet, but where is it defined? Object? Kernel? Why can't I just call a method on my app.…

I agree a LOT with the dotenv-rails suggestion. Not having it in there by default sets up users to put variables in their initializers, and then check them into Git.

Re: Ask HN: What do you want to see in Rails 4.1?

#58

Unicorns, ponies and rainbows please.

Simply adding `gem 'unicorn'` or `gem 'rainbows'` to your Gemfile will give you unicorns or rainbows, I'll investigate ponies, thanks.

This is true- but at least for Heroku deployment I always find myself digging around for the "unicorn-killer" stuff. But perhaps that's Heroku specific.

Re: Ask HN: What do you want to see in Rails 4.1?

#60
post #43

Earlier quoted context omitted.

+1 for this. My team "rolls up" migrations akin to spring cleaning, because the migration files often have more important information that the db schema, and are easier for team members to learn quickly. I'll contribute $50 if this feature is accepted for Rails 4.1.

> I'll contribute $50 if this feature is accepted for Rails 4.1. Oh yeah? I wonder if others would also pay for bug bounties.

I came across https://www.bountysource.com/ the other day.
Post reply on HN