```ruby
object @address
attributes :id, :firstname, :lastname, :address1, :address2,
           :city, :zipcode, :phone,
           :company, :alternative_phone, :country_id, :state_id,
           :state_name
child(:country) do |address|
  attributes :id, :iso_name, :iso, :iso3, :name, :numcode
end
child(:state) do |address|
  attributes :abbr, :country_id, :id, :name
end
```

Clean up addresses show rabl
user
```ruby
object @address
attributes :id, :firstname, :lastname, :address1, :address2,
           :city, :zipcode, :phone,
           :company, :alternative_phone, :country_id, :state_id,
           :state_name
child(:country) do |address|
  attributes *country_attributes
end
child(:state) do |address|
  attributes *state_attributes
end
```
assistant