search for: meet_at

Displaying 3 results from an estimated 3 matches for "meet_at".

Did you mean: inet_at
2006 Feb 17
0
Problem with string "merging" / escaping
I''m on Mac OS 10.4.3, Ruby 1.8.2, Rails 1.0, MySQL 5, SaltedHashLoginGenerator and I''m seeing a strange problem where sometimes generated HTML isn''t quite correct, in the following way: My code: <%= datetime_select :event, :meet_at, :start_year => 2006 %> Generated code: <select name="event[meet_at(1i)]"> ["<option value=\"2006\" selected=\"selected\">2006</option>\n", "<option value=\"2007\">2007</option>\n", "<option...
2006 Feb 19
2
Another "escaping" problem
Ruby 1.8.2, edge Rails (and 1.0), Mac OS X 10.4.3. Here''s the SQL that gets generated for an eager load: SELECT events.`id` AS t1_r0, events.`user_id` AS t1_r1, addresses.`id` AS t0_r0, events.`name` AS t1_r2, addresses.`name` AS t0_r1, events.`meet_at` AS t1_r3, addresses.`phone_number` AS t0_r2, events.`created_at` AS t1_r4, addresses.`phone_service` AS t0_r3, events.`location_id` AS t1_r5, addresses.`user_id` AS t0_r4 FROM addresses [" LEFT OUTER JOIN addresses_events ON addresses_events.address_id = addresses.id LEFT OUTER JOIN even...
2006 Jan 27
2
Forms and one-to-one association
My models are: class Event < ActiveRecord::Base belongs_to :location class Location < ActiveRecord::Base has_one :event The view: ... <%= datetime_select ''event'', ''meet_at'', :start_year => 2006 %></p> <%= collection_select(:event, :location, @locations, :id, :name) %> .. The problem is that in the controller, when I create a new event, it says it expects a Location and not a string: "Location expected, got String" in the &quot...