Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Ryan Swapp
9,743 PointsUsing Rails 4 with Build A Simple Rails App
Has anyone tried following along with Build a Simple Rails App and used Rails 4 and Ruby 2.0? I am going to try it and was wondering if anyone has experience with doing it and if there are any hiccups they ran into.
3 Answers
John W
21,558 PointsJust did it this morning. Some of the generated code ended up being different, but it's fine so far.
Rails 4.0.1
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
Ryan Swapp
9,743 PointsAwesome! Thanks!
Josh Flowers
7,010 PointsBefore you get too far, you WILL run into problems because they are using a method called attr_accessible which has been dropped in Ruby 2.x and this will cause you a lot of problems, but you won't encounter the problems until you reach the section titled: "Customizing Forms".
Good news though is that they are working on an update to incorporate Ruby 2.0 and Rails 4.