aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorTobias Lütke <tobias.luetke@gmail.com>2007-10-10 19:11:50 +0000
committerTobias Lütke <tobias.luetke@gmail.com>2007-10-10 19:11:50 +0000
commit0ad5365bf4f71adb32ea543f74615e86edce7b28 (patch)
tree2147838c9b7c460a5a3de7553812f34e51d6533e /activerecord/test/fixtures
parent6637f9069c8bd819edc175cca13b667861aa3a0b (diff)
downloadrails-0ad5365bf4f71adb32ea543f74615e86edce7b28.tar.gz
rails-0ad5365bf4f71adb32ea543f74615e86edce7b28.tar.bz2
rails-0ad5365bf4f71adb32ea543f74615e86edce7b28.zip
find_and_(initialize|create)_by methods can now properly initialize protected attributes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/computer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/computer.rb b/activerecord/test/fixtures/computer.rb
index cc8deb1b2b..f26312f9a6 100644
--- a/activerecord/test/fixtures/computer.rb
+++ b/activerecord/test/fixtures/computer.rb
@@ -1,3 +1,4 @@
class Computer < ActiveRecord::Base
belongs_to :developer, :foreign_key=>'developer'
end
+