Thanks for all your screencasts, Ryan. I always learn something even if English is not my primary language. Speak more slowly perhaps ? (joke).
link_to_funtion is nice! I hope you soon will produce some screencasts that deal with helper methods.
Thanks Ryan for another great Railscast.
Please keep them coming.
@carmelyne, glad you like it. :)
I actually had the feature done a few days ago, I just didn't upload it until last night. It was still a chore retyping all the code.
I should probably keep the code in a subversion repository as well and add a "tag" for each episode. Hmmm.
Another great cast!
Thanks for reading the feedback.
dynamic update with rjs will be a great cast if you can. Thanks again Ryan.
Hey Ryan great ca$t, I was wondering if this was the bes appraoach to update a div with something like this:
<% @brands.each do |brand| %>
<%= link_to_remote(image_tag(brand.filename),:url => {:action => 'show_description', :id => brand}, :class => "description") %>
<%- end %>
pretty much passing the :id of brand to a partial how would one go about that?
@Phillip, that looks like it will work. If it doesn't you may want to post about this on railsforum.com.
lovin' the casts thanks Ryan. Just a small comment about manipulating DOMs using element proxies. There is one advantage of calling the DOM methods directly over page is that many DOM objects can be affect in one call like:
<code>
page.toggle :image_div, :text_div
</code>
vs.
<code>
page[:image_div].toggle
page[:text_div].toggle
</code>
How does the controller look like?
How does it know to render the rjs?
@morb, it isn't necessary to define the action in the controller. Rails will automatically look for a template with the name of the action (do_magic.rjs) and just render that. Nothing significant is in the controller.
Hi,
can somebody help me to test this:
page[:review_name].value = "this is cool"
with assert_select_rjs, or any other method will be appreciated.
Thanks
Adidas Shoes Online Shop-Hot Selling Adidas Shoes & Cheap Adidas Shoes.
mom







