Sha256: a21a516aebb98517a40f7cf94cb9d7690d05a0452f18141b04edda6abbae6411

Contents?: true

Size: 332 Bytes

Versions: 99

Compression:

Stored size: 332 Bytes

Contents

object @user => :person

attributes :username, :email, :location
attributes :created_at => :registered_at

node :role do |user|
  user.is_admin ? 'admin' : 'normal'
end

child :phone_numbers => :pnumbers do
  extends "users/phone_number"
end

node :node_numbers do |u|
  partial("users/phone_number", :object => u.phone_numbers)
end

Version data entries

99 entries across 77 versions & 2 rubygems

Version Path
rabl-0.7.0 fixtures/ashared/views/users/show.json.rabl
rabl-0.7.0 fixtures/ashared/views_rails_3/users/show.json.rabl
rabl-0.6.14 fixtures/ashared/views_rails_3/users/show.json.rabl
rabl-0.6.14 fixtures/ashared/views/users/show.json.rabl
rabl-0.6.13 fixtures/ashared/views/users/show.json.rabl
rabl-0.6.13 fixtures/ashared/views_rails_3/users/show.json.rabl
rabl-0.6.12 fixtures/ashared/views/users/show.json.rabl
rabl-0.6.12 fixtures/ashared/views_rails_3/users/show.json.rabl
rabl-0.6.11 fixtures/ashared/views_rails_3/users/show.json.rabl
rabl-0.6.11 fixtures/ashared/views/users/show.json.rabl
rabl-0.6.10 fixtures/ashared/views_rails_3/users/show.json.rabl
rabl-0.6.10 fixtures/ashared/views/users/show.json.rabl
rabl-0.6.9 fixtures/ashared/views/users/show.json.rabl
rabl-0.6.9 fixtures/ashared/views_rails_3/users/show.json.rabl
rabl-0.6.8 fixtures/ashared/views_rails_3/users/show.json.rabl
rabl-0.6.8 fixtures/ashared/views/users/show.json.rabl
rabl-0.6.7 fixtures/ashared/views_rails_3/users/show.json.rabl
rabl-0.6.7 fixtures/ashared/views/users/show.json.rabl
rabl-0.6.6 fixtures/ashared/views/users/show.json.rabl
rabl-0.6.6 fixtures/ashared/views_rails_3/users/show.json.rabl