Hi,

I would like to know the best practice for following situation:

* For saving DB space, instead of saving a list of string values
("Implemented", "Non Implemented", "Partially Implemented"), I want to
save an integer value (1, ,2, 3)

* My doubt is how to manage this situation in terms of:

> * Show list of values (strings)in a combo
> * Assign selected value to the integer field in the DB
> * Validate value

* ActiveRecord has any kind of functionality for this?
* Do I use helpers for translating? If this is the solution... how do I
do this?

Thx in advance
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to