Welcome to This week in Rails – #RailsTurns10 Edition!
As mentioned last week, the first public version of Rails was unvealed to the world 10 years ago today. Its a great time to reflect on the things Rails taught us along the way – join the discussion on Twitter and Hacker News!
If you were curious about the milestones along the way of this 10-year journey, Luke Francl did a great writeup for that. If you prefer, you can always watch his presentation at this year's RailsConf instead.
This was added a little while ago, but I don't think we have covered it yet. This handy utility method makes it easy to load custom configurations for the current environment, much like how database.yml works.
Active Record master now supports the "jsonb" data type on PostgreSQL with this pull request. This is a new feature on PostgreSQL 9.4+, enabling more efficient and sophisticated indexing and querying on JSON data. You can read more about it here.
Did you know that you can use the digest option with the scaffold/model generator and have it add the appropriate database column, add has_secure_password in the model and so on?
Wrapping up
And that's it for this issue of This week in Rails. As always, there are way too many changes on Rails to cover in this newsletter, so I encourage you to check them out!
If you have any feedback for me, please feel free to email me or let me know on twitter! Thank you for reading! <3 <3 <3