aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-08-03 16:14:14 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-08-03 16:14:14 -0700
commitd3a2ba2b6b553600177da8d3d472e2f5dea7b9ac (patch)
tree625b591ee7c30f7d09581b490c8d09794b7242cb /activerecord
parentc0635de4296f8b6f6cfa53e97282f73c6ae71b59 (diff)
parent7860bdd17ef49b5d33e5867979590bd47bc907ea (diff)
downloadrails-d3a2ba2b6b553600177da8d3d472e2f5dea7b9ac.tar.gz
rails-d3a2ba2b6b553600177da8d3d472e2f5dea7b9ac.tar.bz2
rails-d3a2ba2b6b553600177da8d3d472e2f5dea7b9ac.zip
Merge pull request #11740 from Karunakar/self_table
Changing the def self.table_name to self.table_name in the column_name.r...
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/models/column_name.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/models/column_name.rb b/activerecord/test/models/column_name.rb
index ec07205a3a..460eb4fe20 100644
--- a/activerecord/test/models/column_name.rb
+++ b/activerecord/test/models/column_name.rb
@@ -1,3 +1,3 @@
class ColumnName < ActiveRecord::Base
- def self.table_name () "colnametests" end
-end \ No newline at end of file
+ self.table_name = "colnametests"
+end