Skip to content
Browse files

Slightly changes to the readme file

  • Loading branch information...
1 parent 4d3877d commit 2104bd0166662aa9d8152b017d74e952748828da @jeroeningen committed Apr 25, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.rdoc
2 README.rdoc
@@ -11,6 +11,8 @@ In your model add the following:
column_name is the name of your database column e.g. price or price_per_liter.
+validates is optional and add validation to the column
This plugin creates the following getters and setters:
- 'price_in_cents' and '<column_name>_in_cents' #sets and returns the price in cents
- 'price' and '<column_name>' #sets and returns the price

0 comments on commit 2104bd0

Please sign in to comment.
Something went wrong with that request. Please try again.