Displaying 2 results from an estimated 2 matches for "event_at".
Did you mean:
event_
2006 Aug 17
0
Help with best-practice for Rails Model
...uestion that pertains to how
to best model something that is typically addressed via inheritance.
Here''s the situation:
I need to maintain an EventLog
There are several different "types" (eight at this point) of Events
All Events have a couple of attributes in common (user_id, event_at,
note, summary, type, etc.)
Each Event has several (2-10) attributes that are unique based on "type"
summary needs to be overridden for each type, but accessible when do a
find on the superclass.
I need to expose all the functionality in an API.
The API will be used from non-Rails apps....
2006 Mar 21
5
Getting a time select input
I''m having trouble workign out which ActionView DateHelpers to display a
time input for an ActiveRecord field of type :time.
I just want an hours input and a minuites input. I can get these with
time_select helper using :field_name and :prefix but it gives both hours
and miniutes the same name.
<%= select_time(Time.now, :prefix => "search", :field_name =>