Return to Snippet

Revision: 2868
at April 30, 2007 01:00 by winson


Initial Code
class << ActiveRecord::Base
  # Use 'Book[params[:id]]'
  # instead of # Let 'Book.find params[:id]'.
  alias_method :[], :find
end

Initial URL

                                

Initial Description

                                

Initial Title
More simple finder

Initial Tags
textmate

Initial Language
Rails