Sha256: 1d3a8a57198a8f779eb4658b48fb4fb59973b5c06e63c1494bb5c795f96f4d8c

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 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(:foo) { helper_foo }

node(:post) do |post|
  [post.title, post.body]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rabl-0.7.1 fixtures/ashared/views_rails_3/posts/show.rabl
rabl-0.7.0 fixtures/ashared/views_rails_3/posts/show.rabl
rabl-0.6.14 fixtures/ashared/views_rails_3/posts/show.rabl