public Method

Base.attribute_names

Returns an array of names for the attributes available on this object sorted alphabetically.

Source Code

# File active_record/base.rb, line 2177
def attribute_names
  @attributes.keys.sort
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.