public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
Remove AR::Base#attributes argument. [#52 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
fcheung (author)
Sun May 11 16:29:16 -0700 2008
lifo (committer)
Sun May 11 16:35:42 -0700 2008
commit  d2212c1601dcd67e72e9d52f98347d3285fd7134
tree    3bcb91aa1adc19d486e4a54d5bec9bd8433bafc1
parent  00640de861797b258d2dd955b861bcb021d4a3e1
...
2342
2343
2344
2345
 
2346
2347
2348
...
2342
2343
2344
 
2345
2346
2347
2348
0
@@ -2342,7 +2342,7 @@
0
 
0
 
0
       # Returns a hash of all the attributes with their names as keys and the values of the attributes as values.
0
- def attributes(options = nil)
0
+ def attributes
0
         self.attribute_names.inject({}) do |attrs, name|
0
           attrs[name] = read_attribute(name)
0
           attrs

Comments

    No one has commented yet.