Displaying 1 result from an estimated 1 matches for "time_zone_utc_offset".
2006 Jan 30
1
Introduction & time_zone_select with mapped TimeZone question
...of class with mapped
utc_offset and name fields...
In my form I have:
<%= time_zone_select(''user'',''time_zone'') %>
In my user-class I have:
composed_of :time_zone, :class_name => ''TimeZone'', :mapping =>
[%w(time_zone_name name) %w(time_zone_utc_offset utc_offset)]
And I get this error:
undefined local variable or method `utc_offset'' for User:Class
I am using the stable version of Rails and User is part of the
user_engine, but that should make no difference as I did overload the
user-class (and other fields are working)...
I tried a...