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
we provide our buyers with an efficient and manageable procurement process covering every phase of the international supply chain and
streamlining trade channels. Also welcome wholesaling, feedback now!
we provide our buyers with an efficient and manageable procurement process covering every phase of the international supply chain and
streamlining trade channels. Also welcome wholesaling, feedback now!
I want to say that I dont think Ive read anything so true in a long time. Youve got a lot of great ideas, a great deal of perspective. I think that you definitely have something important to say and Im gonna back it 110%, man. Good job keeping this subject alive and interesting!
I always learn something even if English is not my primary language. treamlining trade channels. Also welcome wholesaling, feedback now!
Thanks for sharing your article. I really enjoyed it. I put a link to my site to here so other people can read it. My readers have about the same interets
I always learn something even if English is not my primary language.
I feel like I’m often looking for interesting things to read about a variety of subjects, but I manage to include your blog among my reads every day because you have interesting entries that I look forward to. Here’s hoping there’s a lot more great material coming!






