RailsCasts Pro episodes are now free!

Learn more or hide this

Recent Comments

Avatar

This is really good and working for me. Thank you very much.

Avatar

The content_tag_for was available in Rails 3 and 4. It has been removed from Rails 5.

To bypass content_tag_for try this simple format - it works for me with Ruby 5:

<li class="category" id="category_<%= sort_category.id %>"><span class="handle"><%= sort_category.title %></span></li> 
Avatar

This topic is interesting This topic is interesting. This information is very useful to me. I hope there will be many articles or like this article. Thank you for sharing.

Avatar

thank you for giving me the necessary information

Avatar

I hope there will be many articles or like this article.

Avatar

I went through many of the original RailsCasts about a year ago. They where are a great way to refresh on the basics, but rails has changed so much that it would be difficult for a new rails hopeful, such as my son, to make some of them work. Thanks for giving us a fresh, back-to-basics episode.

bgbfgnh

Avatar

I went through many of the original RailsCasts about a year ago. They where are a great way to refresh on the basics, but rails has changed so much that it would be difficult for a new rails hopeful, such as my son, to make some of them work. Thanks for giving us a fresh, back-to-basics episode.

Avatar

I went through many of the original RailsCasts about a year ago. They where are a great way to refresh on the basics, but rails has changed so much that it would be difficult for a new rails hopeful, such as my son, to make some of them work. Thanks for giving us a fresh, back-to-basics episode.

jjkmjhjh

Avatar

waw this was really a new information that is on testing that also about selective testing, preload rail testing are all new ideas that you have come up with in testing.

Avatar

Testing is important for analyzing the quality of product. Testing tools help to build automated tests for critical end user scenarios. It make the product perfect.

Avatar

Yes you are right that the above video helped me learn about basics of the grid system, navigation, tool tips etc.Bootstrap is not a new one for me and i have project experience in bootstrap and this video helped me to know more about it.

Avatar

yes i am agree with you and such a sharing more beneficial more future, Amazing one thanks

Avatar

Excellent article plus its information and I positively bookmark to this site because here I always get an amazing knowledge as I expect. Thanks for this to share with us.

Avatar

Formulated with naturally potent ingredients, Male Extra helps boost your stamina for longer and better performance.

Avatar

Thank you !

I have a ruby script based on fertilizer (engrais foliaire agricole et liquide en français) and thank's for your help.

Best regards,
Roselmark

Avatar

Thank you for this awesome information. It helps me a lot.

Avatar

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.

Avatar

Hi,

at first thanks for the great screencast.
Everything seem to work but I have the problem that after clicking on the add link TWO answers will be created.
Has anyone an idea how to solve this?

Thanks
Flo

Avatar

Hi James,

I know it's long ago that you had the problem that every question and answer was created twice but I have the same problem at the moment and don't know how to solve it. Do you maybe still know how you solved it?

Thanks
Flo

Avatar

By means of the subsequent technique, I had a performance with a distant shape that I required to go by by the collection. I got the primary corroboration mistake just well.

Avatar

@ Russ Jones - Yeah I do agree with you this certainly is worth to have a look at

Avatar

"Out of curiosity, I'm also interested in seeing how "OR" logic could be implemented here.

This is actually quite clean given countless alternatives! ;)" Me too

Avatar

We will provide the complete details

Avatar

I am having the same issue as Danilo, all of my controller tests fail unless "guest" can do that action. The controller scaffolding provides :valid_session which seems like it should help with this problem, but I can't figure out how to configure it. Anyone done this?

When I try Chris's method I get:
NoMethodError:
undefined method `stub' for #<MyController...

Any ideas on how to resolve this?

Using Rails 4.2.6, RSpec 3.4.0

Avatar

I want to to thank you for this very good read!! I certainly enjoyed
every little bit of it. I have you book-marked to check out new things you post…

Avatar

one of the interesting post thanks for share this

Avatar

This is a great inspiring article. I am pretty much pleased with your good work.You put really very helpful information.

Avatar

This is really very nice post you shared, i like the post, thanks for sharing

Avatar

This is really very nice post you shared, i like the post, thanks for sharing

Avatar

Thanks for the post, this is helpful for my blog