Pragmatic Rails: Let’s do AJAX-backed Sidebar Widgets right, Jim!

{{{ Days ago “I explained how to write a sidebar widget in Rails”:http://nicksda.apotomo.de/2010/11/lets-write-a-reusable-sidebar-component-in-rails-3/, using the view component framework “Cells”:http://github.com/apotonick/cells. This was fun. Clicking a tag leads to a page reload, where the _Recent posts_ list *displays items matching the tag*, only. It worked great, however, each click needs a real HTTP request and a reload… Continue reading Pragmatic Rails: Let’s do AJAX-backed Sidebar Widgets right, Jim!

Let’s write a Reusable Sidebar Component in Rails 3!

{{{ This is a real world example *how to use “Rails Cells”:https://github.com/apotonick/cells, the popular gem for creating reusable view components*. The following post is clean and all-ages. Let’s just all be friends, no bashing, no f-words today, just a brief HOWTO. It is *different from what you might have learned from Rails so far*. This… Continue reading Let’s write a Reusable Sidebar Component in Rails 3!