Live data from Hacker News

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

news.ycombinator.com

1–10 of 94 posts

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

#2
I faced recently scaling/refactoring problems due to way too large models and some kind of callback-hell baked in. instead of just "drag-n-drop" model code to concerns/mixins/..., have a look at https://github.com/cypriss/mutations to extract business logic in a clear way. This was just a life-saver for my team, this should be preferred over "stuff any logic in your models", at least from my point of view.

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

#5
post #2

I faced recently scaling/refactoring problems due to way too large models and some kind of callback-hell baked in. instead of just "drag-n-drop" model code to concerns/mixins/..., have a look at https://github.com/cypriss/mutations to extract business logic in a clear way. This was just a life-saver for my team, this should be preferred over "stuff any logic in your models", at least from my point of view.

I have not seen mutations, I'll check it out, thank you.

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

#8

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.

Just swap out ActionMailer with the `pony` gem!

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

#10
Thanks for asking Steve! I think Rails is already very complete. I would like to see an included state machine, rails-api integration, commands (baby-zeus) integration and GitLab secret storage (https://github.com/gitlabhq/gitlabhq/pull/4040). But I realize these are all very controversial. The most important thing is the core-team stays happy, so no problem if these can't make it.
Post reply on HN