Ruby on Rails Monday, May 4, 2015

Hi,

Not being an expert in RoR, I have a logical query. It is not a
programming question.


Situation is :

I have a Book model and status of the book can be anything from NEW,
OLD, VERY_OLD. It can be NEW, OLD both or it could be OLD and VERY_OLD
both. What would you suggest to implement in such a case? I wanted to
save user choice in database.

I can create new model for Book condition but I feel that there must be
some other nice way to handle it. Is there?

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/30badff47a1f5c2dbfef6aa0011b6618%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment