ã¡ã¢ä»£ããã ActiveRecord require 'rubygems' require 'active_record' ActiveRecord::Base.establish_connection( :adapter => 'postgresql', :host => 'localhost', :username => 'foo', :database => 'baz', :encoding => 'utf8' ) class User < ActiveRecord::Base end User.find(:all).each do |u| p u end Migrate Rakefile ã»ãã¨ã¯è¨å®ãã¡ã¤ã«ãããã»ãããããã ãã©ã require 'rubygems' require 'active_record' require 'logger' ActiveRecord:
{{#tags}}- {{label}}
{{/tags}}