Displaying 2 results from an estimated 2 matches for "guest_url".
Did you mean:
guest_pl
2009 Feb 22
2
Mysql error unknown column 'columns.user_id'
...a user_id column in the comments as such:
class CreateComments < ActiveRecord::Migration
def self.up
create_table :comments do |t|
t.column :photo_id, :integer
t.column :user_id, :integer
t.column :guest_name, :string
t.column :guest_email, :string
t.column :guest_url, :string
t.column :body, :text
t.column :created_at, :datetime
end
add_index :comments, :photo_id
end
def self.down
drop_table :comments
end
end
Can anyone tell me what went wrong and how to solve?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~-...
2006 Feb 13
11
ROR code syntax highlighting on blog?
I am interested in putting the cool syntax highlighting for ROR code. What''s the best way to do that? Is it using textilize or another formatting language? Or do I need special stylesheets?
Any assistance is appreciated.
Thanks
Frank
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
-------------- next part