undefined method `position' for nil:NilClass
  c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/w
hiny_nil.rb:52:in `method_missing'
  C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/hobofields-1.0.1/lib/hobo_fields/migrati
on_generator.rb:307:in `change_table'
  C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/hobofields-1.0.1/lib/hobo_fields/migrati
on_generator.rb:307:in `each'
  C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/hobofields-1.0.1/lib/hobo_fields/migrati
on_generator.rb:307:in `sort_by'
  C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/hobofields-1.0.1/lib/hobo_fields/migrati
on_generator.rb:307:in `change_table'
  C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/hobofields-1.0.1/lib/hobo_fields/migrati
on_generator.rb:242:in `generate'
  C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/hobofields-1.0.1/lib/hobo_fields/migrati
on_generator.rb:238:in `each'
  C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/hobofields-1.0.1/lib/hobo_fields/migrati
on_generator.rb:238:in `generate'
  C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/hobofields-1.0.1/rails_generators/hobo_m
igration/hobo_migration_generator.rb:33:in `manifest'
  c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/rails_generator/commands
.rb:42:in `invoke!'
  C:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/rails_generator/scripts.
rb:31:in `run'
  c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/generate.rb:6
  c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/generate.rb:31:
in `require'
  c:/jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `requir
e'
  script/generate:3

On Wed, Aug 18, 2010 at 11:33 AM, Matt Jones <[email protected]> wrote:
> On Wed, Aug 18, 2010 at 10:55 AM, Skott Klebe <[email protected]> wrote:
>> Occurs during the hobo_migration process of reconciling existing table
>> and column names against the values in hobo_fields:
>>
>> undefined method `position' for nil:NilClass
>>
>> Somebody else created a pastie for the identical problem, but I can't
>> see that anyone ever linked to it:
>> http://pastie.org/pastes/1098370
>> ./script/generate hobo_migration
>>
>>>DROP, RENAME or KEEP?: column mytest.Id
>>>Rename choices: created_at, updated_at, id
>>>Enter either 'drop Id' or one of the rename choices or press enter to keep:
>>>undefined method `position' for nil:NilClass
>>
>>
>> I get the same error.  Anyone seen this before? What should I be looking for?
>
> Try running the generator in trace mode:
>
> script/generate hobo_migration -t
>
> which will output a complete stack trace.
>
> --Matt Jones
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Hobo Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/hobousers?hl=en.
>
>



-- 
Skott Klebe
[email protected]

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to