Skip to content

Commit

Permalink
add nested model to test
Browse files Browse the repository at this point in the history
  • Loading branch information
rhalff committed Jul 28, 2012
1 parent eebea0b commit b388724
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/models/nested/sample.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Nested::Sample < ActiveRecord::Base
attr_accessible :name
end
3 changes: 3 additions & 0 deletions test/models/sample.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Sample < ActiveRecord::Base
attr_accessible :binary, :boolean, :date, :datetime, :decimal, :float, :integer, :string, :text, :time, :timestamp
end

0 comments on commit b388724

Please sign in to comment.