[Rails] validate date tru timestart,timeend
hi im new in ruby on rails development im just wonder if you guys can
help me with my little project which is a reservation system
i have a date,start_time and end_time and i want to validate if the time
is taken in the particular date. i read about scope validation validates
:date ,:uniqueness => { :scope => :timeEnd, :timeStart } but i guess i
have to do something else i think this is a implementation problem not
technically a logic problem or error bugs like that stuffs
do guys have suggestions for how can i solve this? thank in advance more
power to us all
--
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