aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-03-21 21:36:05 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2011-03-22 20:02:32 -0300
commitbaa237c974fee8023dd704a4efb418ff0e963de0 (patch)
tree00eae0c5f8508627c4477a172bae9cab8b85d603 /activerecord/test/schema/schema.rb
parentda6c7bd4b411105e7556ff5015e3c9f6ab1d26fe (diff)
downloadrails-baa237c974fee8023dd704a4efb418ff0e963de0.tar.gz
rails-baa237c974fee8023dd704a4efb418ff0e963de0.tar.bz2
rails-baa237c974fee8023dd704a4efb418ff0e963de0.zip
Allow to read and write AR attributes with non valid identifiers
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index bdadd0698b..362475de36 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -690,6 +690,9 @@ ActiveRecord::Schema.define do
t.integer :molecule_id
t.string :name
end
+ create_table :weirds, :force => true do |t|
+ t.string 'a$b'
+ end
except 'SQLite' do
# fk_test_has_fk should be before fk_test_has_pk