lib/generators/rails/USAGE in roar-rails-0.1.4 vs lib/generators/rails/USAGE in roar-rails-0.1.5
- old
+ new
@@ -24,10 +24,10 @@
module SingerRepresenter
include Roar::Representer::JSON
property :id
- property :instrument, :class => Equipament, :extend => InstrumentRepresenter
+ property :instrument, :class => Equipment, :extend => InstrumentRepresenter
end
You can also choose representer format with --format option
rails g representer Band id name --format=xml