Displaying 3 results from an estimated 3 matches for "createtags".
2006 Mar 31
7
problem with habtm conditions in pagination
...#... it yields the error below the source code that follows:
# source code follows:
class CreateCustomers < ActiveRecord::Migration
def self.up
create_table :customers do |t|
# t.column :name, :string
end
end
def self.down
drop_table :customers
end
end
class CreateTags < ActiveRecord::Migration
def self.up
create_table :tags do |t|
# t.column :name, :string
end
end
def self.down
drop_table :tags
end
end
class Customer < ActiveRecord::Base
has_and_belongs_to_many :tags
end
class Tag < ActiveRecord::Base
has_and_...
1998 Apr 02
1
attributes now inherited
Hi R-Developers,
After my message about a month ago concerning attributes being lost during
simple operations, Martin Maechler invited me to fix the code if I was in
a hurry (especially for attributes in general). We've just made the
following changes here, which appear to implement the rules in the
Blue Book (pg. 257)
Enclosed is the output from "diff -c" from /R-0.61.1/src
2006 Mar 31
14
[newbi] Create a Model
Hello All,
Yesterday i put RoR with Locomotive. I am very happy :p.
So I follow this tuto
(http://developer.apple.com/tools/rubyonrails.html). I used Sqlite.
my database.yml
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Get the fast C bindings:
# gem install mysql
# (on OS X: gem install mysql -- --include=/usr/local/lib)
# And be sure to use new-style password