RailsCasts Pro episodes are now free!
Learn more or hide this
Cool video. Wanted to try out 4.0 (aka First)
Nice Video..! Cheers.
A very Good News !
Finally a gorgeous 4.0 version
Very nice summary!
You can generate a new secret_key_base by running rake secret.
If you're interested in some more details about Rails 4 (and deeper dives on some of the topics shown), I'm writing an e-book: http://upgradingtorails4.com/
awesome, was just wondering that.
It works like a charm !
Super good thanks !
You can also rename update_attributes to update
Nested attributes will need updating too:
Are there any big advantages to upgrading to Rails 4 - I'm a little familiar with some of the new features that are offered and none of them sound appealing to me at the moment.
I noticed 2 areas of improvement:
Rails 4 syntax is less verbose and more intuitive when writing queries.
Rails 4 has a heavy emphasis on security.
There are several more features covered in various blogs and podcasts.
To summarize, Rails 4 "feels" more mature.
I took a huge commercial app and was able to upgrade it from Rails 3.2.13 to Rails 4.0.0.rc1 in half a day. Having the test suite in place made the transition process go smoothly. There are a few popular gems that we use that are not Rails 4 ready so releasing this upgraded app to production will have to wait.
There is no need to say how many unproductive hours and nightmares you are avoiding us with episodes like this one.
I agree w/ @kikorb. The scary thing is what happens when a relative noob (like myself) tries this. A checklist might be one way of looking for all the gotchas.
Thanks for these non-so-intuitive step :)
I feel you.
Yeah for real !
To quickly view differences between Rails versions:
I did not know about Railsdiff. It's fantastic.
Great post! Thanks, there's quite a lot to see.
So easy with this link
Thanks for the cast Ryan you spelt it well as usual. But somehow I share that kind of disappointment with Cyle. It is not if anything were missing, it is just there is no big Wow as there has been before with major releases. Probably a good sign for maturity...
Hello, could you please asciicastize it? Thanks! :-)
To get the latest Rails config settings there's no need to copy/paste from another project just run rake rails:update.
+1 thanks for that!
This will overwrite the configuration that is already have been written.
Thanks so much for this, Ryan!
I understand making gems Rails 4 ready is time-intensive, but most production apps I work on depend on gems that have yet to see some love. Nevertheless, we are starting the upgrade process and updating as dependencies are available.
Your cast makes the process very straightforward and manageable
Rookie in need of some help: It doesn't seem to matter what I do, I get this error:
.rvm/gems/ruby-1.9.3-p286-falcon/gems/actionpack-4.0.0/lib/action_dispatch/routing/mapper.rb:229:in `default_controller_and_action': missing :controller (ArgumentError)
Bundler complete without problems, rake or rails commands fails with before mentioned or simular.
I checked controllers, and yes; they are all there...
So far I have narrowed it down to my routes.rb, but can't see what the problem is.
Removed 'patch :update_many' from routes.rb - now things are looking up :)
New subscriber here - Thanks for all your work Ryan
Hey, Ryan, we need cancan for Rais 4. Update it, please!
small article about migration
This video was quite handy when I upgraded Smartlend to Rails 4. Thanks!
Soothe out your ongoing economic hassles by availing Text Loans which have an online basis and are easily available from the lender’s website. A quick relief from the plight will be possible once you choose the desired aid to be derived from the website, without charges to be paid.
very cool video
This is a great inspiring article. I am pretty much pleased with your good work.You put really very helpful information.
This blog is great i love reading your posts. Keep up the great work! You know, a lot of people are hunting around for this info, you could help them greatly.
Happy New Year 2017
how new i am?
En tant que 2017 je valide cette video!
Although very difficult, but I think to accept the truth. My children it affected a lot, we have moved to a new place and is gradually adapting to it.
Upgrade went very well thanks!
Very great, I think I've found good article. I will see and consult some information in your post. hotmailcomsignin.email
Agree with your opinion, thanks
was looking for this information, thanks to the author of the post, I am glad to join your community!
Thank you for sharing videos about rails. Good job!
Ovary Nutrition Capsule adalah Produk Persembahan Green World Group sebagai sebuah group perusahaan internasional, dalam proses perkembangan yang terus berkelanjutan, senantiasa tidak lepas dari dukungan dan perhatian kolega dari berbagai kalangan. Selama ini Green World Group selalu mengikuti prinsip “kesehatan umat manusia sebagai dasar.
Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.
Great Post, thanks
Thanks for sharing information, good advise.
I like video. Great!!
great!great! Tks you sharing!
I was waiting for it so muuuuucch.
Good Blog Love it
Thanks you it's very good !!
Thanks for sharing such, valuable information
Adidas Ultra Boost Uncaged
NMD Runner Men
NMD Runner Women
NMD X Ultra Boost
Tubular X Boost 350 Men
Yeezy Boost 350
Yeezy Boost 350 Men
Yeezy Boost 350 V2
Yeezy Boost 350 Women
Yeezy Boost 750
It's Amazing post really Its a great pleasure reading your post.
Its full of information I am looking for and I love to post a comment that
"The content of your post is awesome" Good Work Thanks for sharing.
And whenever you are in Dubai United Arab Emirates.
Don''t missed this tour of Evening Desert Safari
Ι read it with pleasure. Really interesting article!!
terima kasih... sangat bermanfaat sekali
Well, I didn't know about Railsdiff earlier. It's fantastic.
Thank for the nice update on the Ruby on Rails.
Thanks for the information
Awesome new update and no bugs to speak of! Can't believe it took me this long to get up to speed on whats going on, that being said I should probably go see if I'm missing out on an even better one. Haha
Great Application rais 3.2
Super Happy with the performance! a definite recommend.
Thanks a lot for the purpose of rendering up to date update versions about the challenge, I just await read through further.
I heard that. I'm with you all the way...