test/rails_app/app/models/business.rb in migrant-1.0.2 vs test/rails_app/app/models/business.rb in migrant-1.1.0
- old
+ new
@@ -8,10 +8,10 @@
structure do
name "The Kernel's favourite fried chickens", :was => :title
website "http://www.google.co.za/", :was => [:site, :homepage]
address ["11 Test Drive", "Gardens", "Cape Town" ,"South Africa"].join("\n")
summary :string
- description :text
+ description "Founded in 1898", :as => :text
landline :string
mobile :string
operating_days 0..6
date_established :datetime
next_sale (Time.now + 10.days)