diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-05-14 15:10:10 -0400 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-05-14 12:24:01 -0700 |
commit | a0621c1086165e4b3cff71b54f08a190851b6314 (patch) | |
tree | b6fa077704fd939783d9c0166f7289144ea65bbb /activeresource/lib | |
parent | 0c37bf8f915cad47e8711f525c220ceed95e84ee (diff) | |
download | rails-a0621c1086165e4b3cff71b54f08a190851b6314.tar.gz rails-a0621c1086165e4b3cff71b54f08a190851b6314.tar.bz2 rails-a0621c1086165e4b3cff71b54f08a190851b6314.zip |
Better code formatting and proper line numbers for stack traces
[#4596 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activeresource/lib')
-rw-r--r-- | activeresource/lib/active_resource/schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/lib/active_resource/schema.rb b/activeresource/lib/active_resource/schema.rb index 8368b652c2..5758ac9502 100644 --- a/activeresource/lib/active_resource/schema.rb +++ b/activeresource/lib/active_resource/schema.rb @@ -42,7 +42,7 @@ module ActiveResource # :nodoc: # TODO: We should eventually support all of these: # %w( string text integer float decimal datetime timestamp time date binary boolean ).each do |attr_type| KNOWN_ATTRIBUTE_TYPES.each do |attr_type| - class_eval <<-EOV + class_eval <<-EOV, __FILE__, __LINE__ + 1 def #{attr_type.to_s}(*args) options = args.extract_options! attr_names = args |