search for: hotel_nam

Displaying 2 results from an estimated 2 matches for "hotel_nam".

Did you mean: hotel_name
2005 Jun 16
3
PostgreSQL Scaffold Doesn't Insert PK?
...''ve been a WebObjects developer for a few years and before that J2EE (shudder). I wanted to try RoR so I am porting an existing Web app. I am running the latest release on Tiger and PG8. Right now my single table has three attributes: id | integer | not null hotel_name | character varying(255) | not null hotel_location | character varying(255) | not null "hotels_pkey" PRIMARY KEY, btree (id) When I use the generated insert form, it sends this SQL: INSERT INTO hotels ("hotel_location", "hotel_name") VALUES(''Strip&...
2011 Mar 04
4
!map:HashWithIndifferentAccess
...hash of objects that I am iterating through in order to display the needed info. As I am doing that and displaying half a dozen values, one value is being interrupted by rails as a hash and giving me this error: --- !map:HashWithIndifferentAccess comm: "1" comm_percentage: "12" hotel_name: "111947" rate: "2.00" additional_email_1: "" amenities: cccc neg_by: Client comm_dollar_amt: "34.00" hod: test rac: xxx billing: "0" I understand what the messages says, it thinks I am working with a hash, the thing is that I''m not. The...