Sha256: c5a182e429f62e3a680d84f7cdde85984630fd84d242ceb9ea03d79ae997e74e
Contents?: true
Size: 417 Bytes
Versions: 49
Compression:
Stored size: 417 Bytes
Contents
object @post cache @post attributes :title, :body attributes :created_at => :posted_at child :user do extends "users/show" end glue :user do attributes :username => :author_name end code(:created_date) do |p| partial("posts/date", :object => p.created_at) end node(:post) do |post| [post.title, post.body] end node(:foo) { helper_foo } node(:created_at_in_words) {|p| time_ago_in_words(p.created_at) }
Version data entries
49 entries across 47 versions & 2 rubygems