Hey, it’s been a while I posted here. So what’s the purpose ? I commonly use script/console to debug my rails applications. Today I wanted to see the values of my custom attributes model without typing model.custom_attribute. So I took a look at ActiveRecord::Base#inspect method. and the default inspect method shows me database fields. Well, …
Tag Archive: inspect
Sep
23
Search
Share
Tag cloud
2.0.4
2.3.4
About
accessor
activerecord
activesupport
active_record
active_support
base
best practice
best practices
bundler
column
email
gem
gemfile
gettext
hash
I18n
inspect
internationalisation
internationalization
L10n
localization
meta-programming
metaprograming
mysql
méta-programmation
métaprogrammation
news
novice
programmation
rails
regexp
ror
ruby
ruby on rails
sort
sorting
testing
tips
validate
validations
validator
wirble

