Patella: It's Memoization into Memcached calculated in the background with Resque.
Solution
MemoizationMemcached
simple to setup
the first request still slams the server
]cache warning thing..Memoization into memcached calculated into Resque
Send LaterBe JASON to put into memcached.
it was difficult to understand..
Ten Things You Didn't Know Rails Could Do
rails 3.2.3 can..
#TODO, #FIXME -> rake notesrails c --sandbox -> test console
run helper method in the console helper.numer_to_currency
rails g resouce user name email token: string{6}
rials g resource user name:index email:uniq token:string{6}
string default
rails g resource article user:refenreces subject body:textCSV to database CSVSerializer
User.pluck(:email) -> select filelds
User.uniq.pluc(:email)User.instantiate ? without a database
full text search in postgre
add column :search, "tsvector"
create index article_search_index on articles using gin(search);ruby extensins
write files atomically
File.atomic_write
Merge Nested Hashes
{nested:{one:1}}.deep_merge{}
remove specific keys from a hash
params .except[:controller. :action]Views
hide comments <%# %>change to shorter erb syntax
content_tag_for :div,@articles do |article|..
group menu entries
select_tag :grouped_,emi grouped_options_for..Router
-> syntax??rsync way to put static pages..
slide: http:/speakerdeck.com/u/jeg2
Evented Ruby vs Node.js
http://github.com/jch/railsconf2012