Skip to content

Instantly share code, notes, and snippets.

@px-amaac
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save px-amaac/0acd2b8da19951073c23 to your computer and use it in GitHub Desktop.

Select an option

Save px-amaac/0acd2b8da19951073c23 to your computer and use it in GitHub Desktop.
??
rails generate model section:references{polymorphic}:index step:references
/home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/generators/base.rb:258:in `const_defined?': wrong constant name S
ection:references{polymorphic}:index (NameError)
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/generators/base.rb:258:in `block in class_collisions
'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/generators/base.rb:249:in `each'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/generators/base.rb:249:in `class_collisions'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/generators/named_base.rb:200:in `block in check_clas
s_collision'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:115:in `invoke'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/group.rb:277:in `block in _invoke_for_class_method'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/shell.rb:68:in `with_padding'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/group.rb:266:in `_invoke_for_class_method'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/group.rb:133:in `_invoke_from_option_orm'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/generators.rb:157:in `invoke'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/commands/generate.rb:11:in `<top (required)>'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:247:in `require'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:247:in `block in requi
re'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:232:in `load_dependenc
y'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:247:in `require'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/commands/commands_tasks.rb:135:in `generate_or_destr
oy'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/commands/commands_tasks.rb:51:in `generate'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/railties-4.1.2/lib/rails/commands.rb:17:in `<top (required)>'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:247:in `require'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:247:in `block in requi
re'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:232:in `load_dependenc
y'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:247:in `require'
from /vagrant/cins465-p7/tutorialcreator/bin/rails:8:in `<top (required)>'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:241:in `load'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:241:in `block in load'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:232:in `load_dependenc
y'
from /home/vagrant/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.2/lib/active_support/dependencies.rb:241:in `load'
from /home/vagrant/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/vagrant/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment