search for: subtype1event

Displaying 1 result from an estimated 1 matches for "subtype1event".

2006 Aug 17
0
Help with best-practice for Rails Model
...quot;user_id", :integer t.column "event_at", :datetime t.column "note", :text t.column "type", :string t.column "type1_attr", :integer t.column "type2_attr", :integer end class LogEvent < ActiveRecord::Base class SubType1Event < LogEvent class SubType2Event < LogEvent If not, then how? (keeping it simple!) Since event_at is a datetime, how do I best do a find by only the Date portion? For a Date Range? Should I use REST or SOAP for the API? Is one or the other better if I want to pass complex objects back an...