I'm just starting to mess around with Rails (coming from Java land) so
bear with me....

I'm using rails 2.3.2 and I've installed the gem as described here
http://hobocentral.net/hobofields/

ruby script/genearte hobo_migration

(I also tried to install the plugin but svn: Can't connect to host
'hobocentral.net': Connection refused when I tried the svn line
provided in the link above.)

I can successfully create my migration from a simple model class:

class Player < ActiveRecord::Base
  fields do
    first_name :string
    last_name  :string
    timestamps
  end
end


However when my control is fired going to a view backed by this
controller it complains:

undefined method `fields' for #<Class:0x121f1b4>

What am I doing wrong? I'm guessing I need the plugin installed as
well as the gem?

--~--~---------~--~----~------------~-------~--~----~
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