Please read for an updated status on RailsCasts:
Learn more or hide this
Again nice episode!
Useful and nice episode!
There are already a couple of deprecation warnings messages in Rails 2.3.8, especially using rake commands.
As an alternative to downloading the jQuery rails.js file manually, you can use "rails g jquery:install" from the rails3-generators gem to install jquery and rails.js, and set the :defaults option to jquery instead of prototype.
Small note - the line:
content_for?(:side) ? yield(:side) : render(:partial => 'shared/side')
Can be shortened slightly to
yield(:side).presence || render(:partial => 'shared/side')
Now the *big* question, Ryan, is railscasts.com **actually** running in Rails 3 now? :-)
I am using jQuery like you and I followed the instructions for using it. My delete/destroy link refuses to work. This worked fine in Rails 2.3.8. Is there a way to debug this problem?
Thanks for the wonderful work that you do. Makes all our lives that much better.
Apologies for the previous post. It turned out that I was using the wrong rails.js with the wrong version of jquery (talk about double-trouble!).
Thanks MattR for sharing that. And thanks Ryan for this great screencast.
Excellent videos, thanks, I was trying it with a 2.3.10 rails app to 3.0.5 most of the work is already done, is booting normally.
But I found a really ugly bug, the default layout is not working, actions from controllers are rendering without the default layout but actions with specific layout option on render are working.
Here is the code for a better understanding:
Any thoughts are welcome.
Thanks, Ryan! This series helped me a lot to migrate to Rails 3. It was not as easy as I thought.
First sign in through GitHub to post a comment.