How to get line number and file of your RoR code

add czech pluralize to i18n

Rails 2.1.0 – named_scope

New version of rails comes with a great feature called named_scope.

# in your model.rb

and you can use its as:

# somewhere in your code