Hi Ryan,
yes that's about it - the choices I want to have will not be created by
user input (I don't think they are in the SO example either - I think
the OP only wants to allow the three choices he specified, which is why
I couldn't work out why the answers seemed to overcomplicate things so
much..). Anyway - my choices will be defined, not user created and only
4 possibilities.
Its looking like I will just define an array with 4 possibilities in
that case..
--
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/64cef85c0207ae983d0be40cfdf32717%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment