vendor/rails/activerecord/test/models/company.rb in radiant-0.9.1 vs vendor/rails/activerecord/test/models/company.rb in radiant-1.0.0.rc1
- old
+ new
@@ -10,9 +10,11 @@
has_one :dummy_account, :foreign_key => "firm_id", :class_name => "Account"
has_many :contracts
has_many :developers, :through => :contracts
+ named_scope :with_oft_in_name, :conditions => "name LIKE '%oft%'"
+
def arbitrary_method
"I am Jack's profound disappointment"
end
private