Skip to content

Instantly share code, notes, and snippets.

@hartator
hartator / gist:6405096
Created September 1, 2013 15:21
Error "no implicit conversion of nil into String” in vanilla rails app
Last login: Sun Sep 1 10:44:53 on ttys002
You have new mail.
➜ ~ cd apps/
➜ apps rails new oubado
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
@hartator
hartator / gist:6404820
Created September 1, 2013 14:34
Rails 4.0.0 Error: no-implicit-conversion-of-nil-into-string
➜ rififi rails s
=> Booting WEBrick
=> Rails 4.0.0 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2013-09-01 16:31:08] INFO WEBrick 1.3.1
[2013-09-01 16:31:08] INFO ruby 2.0.0 (2013-05-14) [x86_64-darwin12.2.0]
[2013-09-01 16:31:08] INFO WEBrick::HTTPServer#start: pid=3204 port=3000
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:load (first_time)
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
# SQLite version 3.x
# gem install sqlite3
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".