On 19 Apr 2011, at 22:13, Federico federico.rot...@gmail.com wrote:
Hello everybody,
I have a class like this:
class Foos ActiveRecord::Migration
def self.up
create_table :foos,:id = false, do |t|
t.references :table1
t.references :table2
t.timestamps
end
end
Thanks Fred, at least I'll stop bouncing my head against the wall trying to
make my command work!
I'll stick with your solution or mine.
Il giorno 20/apr/2011, alle ore 09:39, Frederick Cheung
frederick.che...@gmail.com ha scritto:
On 19 Apr 2011, at 22:13, Federico
Hello everybody,
I have a class like this:
class Foos ActiveRecord::Migration
def self.up
create_table :foos,:id = false, do |t|
t.references :table1
t.references :table2
t.timestamps
end
end
def self.down
drop_table :foos
end
end
I would like to add a
3 matches
Mail list logo