[Rails] Request advice on best/usable field default
Hi all,
I am creating a bash.org-like. Basically: just store and retrieve quotes
that people enter. I would like the user to have the option of entering
a few fields, among which are a date a and location field.
What do you think is the best default to use for these fields? nil, or
today's date (or January 1st, year 1), or an empty string?
It may be possible later to search or sort using these fields, which is
why I am asking how you would do this. I may have not searched well, but
I didn't find anything on the web about this.
Thanks :)
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home