Skip to content

Commit

Permalink
Merge remote-tracking branch 'jrdi/rails3' into rails3
Browse files Browse the repository at this point in the history
Conflicts:
	Gemfile
	Gemfile.lock
	config/boot.rb
	config/environment.rb
  • Loading branch information
enriclluelles committed Mar 8, 2012
2 parents f059c0e + ae7508e commit 763f412
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 9 deletions.
2 changes: 2 additions & 0 deletions app/helpers/misc_helper.rb
@@ -0,0 +1,2 @@
module MiscHelper
end
20 changes: 20 additions & 0 deletions config/preinitializer.rb
@@ -0,0 +1,20 @@
begin
require "rubygems"
require "bundler"
rescue LoadError
raise "Could not load the bundler gem. Install it with `gem install bundler`."
end

if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("0.9.24")
raise RuntimeError, "Your bundler version is too old for Rails 2.3." +
"Run `gem install bundler` to upgrade."
end

begin
# Set up load paths for all bundled gems
ENV["BUNDLE_GEMFILE"] = File.expand_path("../../Gemfile", __FILE__)
Bundler.setup
rescue Bundler::GemNotFound
raise RuntimeError, "Bundler couldn't find some gems." +
"Did you run `bundle install`?"
end
18 changes: 9 additions & 9 deletions db/schema.rb
Expand Up @@ -47,15 +47,15 @@
end

create_table "users", :force => true do |t|
t.string "login", :default => "", :null => false
t.string "email", :default => "", :null => false
t.string "crypted_password", :default => "", :null => false
t.string "password_salt", :default => "", :null => false
t.string "persistence_token", :default => "", :null => false
t.string "single_access_token", :default => "", :null => false
t.string "perishable_token", :default => "", :null => false
t.integer "login_count", :default => 0, :null => false
t.integer "failed_login_count", :default => 0, :null => false
t.string "login", :null => false
t.string "email", :null => false
t.string "crypted_password", :null => false
t.string "password_salt", :null => false
t.string "persistence_token", :null => false
t.string "single_access_token", :null => false
t.string "perishable_token", :null => false
t.integer "login_count", :default => 0, :null => false
t.integer "failed_login_count", :default => 0, :null => false
t.datetime "last_request_at"
t.datetime "current_login_at"
t.datetime "last_login_at"
Expand Down

0 comments on commit 763f412

Please sign in to comment.