can apply differently to :find and :create clauses
cool thing about using hashes as if they were keyword parameters is that keyword parameters become mergeable - a benefit of a hack around a limitation in the language
with_scope being deprecated by core, made private to models
merges options, makes it less repetitive
any Ruby object can do this - they put it on Object!
(madness! but cool)
either adds a hash as last parameter or adds values into an existing hash parameter - not necessarily one named options, just whichever one's last in the args.
factors out megadooky "temp var with temp var on last line" pattern
&:xx -> The Blockinator
Lookup Constants for caching
now.to_s(:db) # mysql format
merge new strftime strings into the conversions array and you can do
Range#to_s also extended, (some..range).to_s(:db) becomes BETWEEN clause.
script/generate model wombat --svn
Automatically adds new models to Subversion.
Generic to all generators, so if you write your own, you get it for free.
In console, ActionController::Routing::Routes, no, just irb object and then object is the default object for your entire subsession.