-
Recent Posts
Twitter
Tweets by elcionakashimaArchives
Categories
Meta
Tag Archives: ruby
RAILS: link_to current page
Using Rails 3. I wanted to generate a link to the current page being viewed, with some extra parameters, but couldn’t find an easy way just by browsing the docs. It turns out this is quite easy: link_to “My Link”, … Continue reading
RAILS: configuring authlogic authentication gem on Rails 3
Using Rails 3. This is the most straightforward article on configuring authlogic on Rails 3: http://www.dixis.com/?p=352 There’s only one minor change I had to do, changing this (in ApplicationController): def store_location session[:return_to] = request.request_uri end To this: def store_location session[:return_to] … Continue reading