Skip to content

Instantly share code, notes, and snippets.

@gamafranco
Created October 2, 2010 18:17
Show Gist options
  • Save gamafranco/607857 to your computer and use it in GitHub Desktop.
Save gamafranco/607857 to your computer and use it in GitHub Desktop.
create app/controllers/pages_controller.rb
create app/helpers/pages_helper.rb
invoke test_unit
create test/unit/helpers/pages_helper_test.rb
invoke test_unit
create test/functional/pages_controller_test.rb
/var/lib/gems/1.8/gems/activesupport-3.0.0/lib/active_support/whiny_nil.rb:48:in `method_missing': undefined method `to_sym' for nil:NilClass (NoMethodError)
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/generators/generated_attribute.rb:9:in `initialize'
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/generators/named_base.rb:92:in `new'
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/generators/named_base.rb:92:in `parse_attributes!'
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/generators/named_base.rb:90:in `map'
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/generators/named_base.rb:90:in `parse_attributes!'
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/generators/named_base.rb:14:in `initialize'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/group.rb:226:in `new'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/group.rb:226:in `dispatch'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/invocation.rb:109:in `send'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/invocation.rb:109:in `invoke'
from /home/tfranco/.bundler/ruby/1.8/hobo-93205c7a8c69/hobo/lib/generators/hobo/resource/resource_generator.rb:19:in `generate_hobo_model'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/task.rb:22:in `send'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/task.rb:22:in `run'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/invocation.rb:118:in `invoke_task'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/invocation.rb:124:in `invoke_all'
from /var/lib/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `map'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/core_ext/ordered_hash.rb:75:in `each'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/invocation.rb:124:in `map'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/invocation.rb:124:in `invoke_all'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/group.rb:226:in `dispatch'
from /var/lib/gems/1.8/gems/thor-0.14.2/lib/thor/base.rb:389:in `start'
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/generators.rb:163:in `invoke'
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/commands/generate.rb:10
from /var/lib/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /var/lib/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /var/lib/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /var/lib/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /var/lib/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /var/lib/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/commands.rb:17
from script/rails:6:in `require'
from script/rails:6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment