aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2010-07-18 07:54:48 -0400
committerJosé Valim <jose.valim@gmail.com>2010-07-21 14:55:57 +0200
commit992711a86bc4ddd4460f9067e49eea36b37ca94f (patch)
tree230b419c54ec4633ea033c847a7a8b81ea7a9683 /activerecord/test/schema
parentc96a50539121c4a722f354220c7f0e314b24804d (diff)
downloadrails-992711a86bc4ddd4460f9067e49eea36b37ca94f.tar.gz
rails-992711a86bc4ddd4460f9067e49eea36b37ca94f.tar.bz2
rails-992711a86bc4ddd4460f9067e49eea36b37ca94f.zip
update_attribute should not update readonly attributes
[#5106 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index a69e38f414..f3fd37cd61 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -300,6 +300,7 @@ ActiveRecord::Schema.define do
t.string :minivan_id
t.string :name
t.string :speedometer_id
+ t.string :color
end
create_table :minimalistics, :force => true do |t|