[ruby-on-rails] How do you discover model attributes in Rails?