spec/dummy/app/models/street.rb in dynamic_controller-0.0.8 vs spec/dummy/app/models/street.rb in dynamic_controller-0.0.9
- old
+ new
@@ -1,5 +1,5 @@
-class Street < ActiveRecord::Base
- belongs_to :city
- attr_accessible :city_id, :name
- validates_presence_of :city_id, :name
-end
+class Street < ActiveRecord::Base
+ belongs_to :city
+ attr_accessible :city_id, :name
+ validates_presence_of :city_id, :name
+end