Live data from Hacker News

Rails 4.1.0 beta1 released

weblog.rubyonrails.org

21–30 of 61 posts

Re: Rails 4.1.0 beta1 released

#21

> This new release also follows our new policy of targeting a minor release every > six months. The idea being that the jump from minor to minor shouldn't try to > include everything under the sun. Just whatever is ready after the six month > mark. EDIT: I have been misinformed. I didn't participate a lot in this release, and I missed some discussion. If you read my previous comment, I mentioned this was a policy cha…

Thanks for the work, looks exciting!

In addition to taking the pressure off of the rails team/community a bit, now you don't have to postpone til the next great feature can be included. I'm sure that devs knowing that what is left out now will probably be there in six months will help their planning and decision-making processes.

Re: Rails 4.1.0 beta1 released

#24
post #5

wow, the action mailer preview thing is one of those things you're amazed didn't exist until now. i remember rigging this up manually a few times after getting sick of sending a million test emails to myself. great work rails team!

37signals actually has a gem called mail_view that I've been using to preview mailers: https://github.com/37signals/mail_view

Glad this made it into Rails itself.

And if you've ever wanted to put inline CSS into emails, roadie will help with that: https://github.com/Mange/roadie

Re: Rails 4.1.0 beta1 released

#25
post #5

wow, the action mailer preview thing is one of those things you're amazed didn't exist until now. i remember rigging this up manually a few times after getting sick of sending a million test emails to myself. great work rails team!

37signals actually has a gem called mail_view that I've been using to preview mailers: https://github.com/37signals/mail_view Glad this made it into Rails itself. And if you've ever wanted to put inline CSS into emails, roadie will help with that: https://github.com/Mange/roadie

Hat-tip to roadie. I am absolutely amazed at how well it works, and how much work it removes in producing HTML emails.

Re: Rails 4.1.0 beta1 released

#26
post #5

wow, the action mailer preview thing is one of those things you're amazed didn't exist until now. i remember rigging this up manually a few times after getting sick of sending a million test emails to myself. great work rails team!

I used mailcatcher. It's pretty awesome for this stuff, but glad to see it in core.

Re: Rails 4.1.0 beta1 released

#27

The only issues I have with this release is that they could of waited until after the holidays. I have a feeling we'll see a security patch right before xmas. The second issue I have is `secrets` should be entirely removed from the framework. These settings should NOT be stored at the file level, it should be handled by environment flags. I feel this is a fundamentally broken feature. Spring is neat, was it just a po…

> These settings should NOT be stored at the file level, it > should be handled by environment flags. I feel this is a > fundamentally broken feature. According to https://github.com/rails/rails/blob/master/railties/lib/rail... , this YAML file is handled like every other YAML by Rails...it's parsed through ERB first. That means, you can do something like development: secret_key_base: And reference it with that `Rail…

Yes, I'm aware, but what was the problem with storing configurations under `Rails.application.config.thing` as ENV['vars']?

It just seems like bloated featured.

Re: Rails 4.1.0 beta1 released

#28

The only issues I have with this release is that they could of waited until after the holidays. I have a feeling we'll see a security patch right before xmas. The second issue I have is `secrets` should be entirely removed from the framework. These settings should NOT be stored at the file level, it should be handled by environment flags. I feel this is a fundamentally broken feature. Spring is neat, was it just a po…

> Spring is neat, was it just a port of Zeus into Rails? Conceptually, they're the same thing, but since Zeus is written in Go, it's totally different code. > These settings should NOT be stored at the file level, it should be handled by environment flags. I feel this is a fundamentally broken feature. I personally use environment variables to handle this case, but basically, every single approach has pros and cons,…

> Conceptually, they're the same thing, but since Zeus is written in Go, it's totally different code.

Thank you, this is what I wanted to hear. :)

> I personally use environment variables to handle this case, but basically, every single approach has pros and cons, not to mention that there's legacy codebases... small steps.

I just think it's a bloated feature when `Rails.application.config` already exists.

Re: Rails 4.1.0 beta1 released

#29

The only issues I have with this release is that they could of waited until after the holidays. I have a feeling we'll see a security patch right before xmas. The second issue I have is `secrets` should be entirely removed from the framework. These settings should NOT be stored at the file level, it should be handled by environment flags. I feel this is a fundamentally broken feature. Spring is neat, was it just a po…

If a project owner updates prod to a new beta of a point release right during the holiday season, that's entirely their fault, not the rails team who delivered something fun for people to mess around with.

This is a fair criticism, I totally missed the beta flag. Cheers.
Post reply on HN