search for: address_line1

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

Did you mean: address_line_1
2006 Apr 23
2
Rails Recipes
...rst recipe, InPlaceEditing, how and where do I run this code to create the table? Thanks! class AddContactsTable < ActiveRecord::Migration def self.up create_table :contacts do |t| t.column :name, :string t.column :email, :string t.column :phone, :string t.column :address_line1, :string t.column :address_line2, :string t.column :city, :string t.column :state, :string t.column :country, :string t.column :postal_code, :string end end def self.down drop_table :contacts end end -- Posted via http://www.ruby-forum.com/.
2011 Mar 10
4
Multi-model forms
...rking on multi model forms, specifically 3. I''m using this http://guides.rubyonrails.org/getting_started.html as a start, and its got a 2 Model example but I cant seem to get the last one working. These are my models: Country name:string code:string (has_one :address) Address address_line1:string address_line2:string city:string state:string country:references (belongs_to :country, has_one :guest) Guest name:string last_name:string gender:boolean vip:boolean address:references (belongs_to :address) So basically what I want to do is insert a new guest through guests/ new and...
2006 Apr 21
1
Data access problem in object when using acts_as_authenticated
...s or any clues on why this is happening? I understand what the rest of the plug in is doing, but this one part is really throwing me off. Also, slightly unrelated... what do the values in quotes in a debug mean versus the ones that don''t? Example being: city: qazx address_line1: "1234" Thanks in advance, Ryan -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060421/5c6709fb/attachment.html