examples/bank/app/views/transfers/new.html.erb in command_model-2.0.1 vs examples/bank/app/views/transfers/new.html.erb in command_model-2.1.0

- old
+ new

@@ -12,21 +12,17 @@ <% end %> <%= form_for @transfer do |f| %> <div> <%= f.label :from_name %><br /> - <%= f.select :from_name, @accounts.map { |a| ["#{a.name} - #{a.balance}", a.name] }, :selected => f.object.from_name, :include_blank => true %> + <%= f.select :from_name, @accounts.map { |a| ["#{a.name} - #{a.balance}", a.name] }, selected: f.object.from_name, include_blank: true %> </div> <div> <%= f.label :to_name %><br /> - <%= f.select :to_name, @accounts.map { |a| ["#{a.name} - #{a.balance}", a.name] }, :selected => f.object.to_name, :include_blank => true %> + <%= f.select :to_name, @accounts.map { |a| ["#{a.name} - #{a.balance}", a.name] }, selected: f.object.to_name, include_blank: true %> </div> <div> <%= f.label :amount %><br /> <%= f.text_field :amount %> </div> <%= f.submit "Transfer" %> <% end %> - - - -