Tag: Rails3
パス | URL |
app/assets/images/hoge.png | /assets/hoge.png |
app/assets/images/test/hoge.png | /assets/test/hoge.png |
rails console
% rake db:test:clone RAILS_ENV=production
gem 'yaml_db'
rake db:dump RAILS_ENV=production
rake db:load
config.autoload_paths += %W(#{config.root}/lib) # 追加 config.autoload_paths += Dir["#{config.root}/lib/**/"] # 追加
MiniTest v1.6.0 is out of date. (RuntimeError)
group :test do # Pretty printed test output gem 'turn', :require => false gem 'minitest' end
bundle install --path vendor/bundle
gem 'mysql2', '~> 0.3.11'
<%= favicon_link_tag 'favicon.ico', :rel => 'shortcut icon' %>