Er... I think it was supposed to say

Invalid field type 'inetgr' for fee

which would have been rather more helpful!

Will take a look

Tom


On 28 Aug 2008, at 03:47, Mike Payson wrote:

> D'oh!... Nevermind... I looked at that code for an hour and didn't  
> see the obvious typo until the minute after I sent it. Sorry!
>
> On Wed, Aug 27, 2008 at 7:45 PM, Mike Payson <[EMAIL PROTECTED]>  
> wrote:
> Trying to run a migration, but it keeps choking with the cryptic  
> error message "Invalid field type '103' for 68.111" on this model:
>
> class Dogs < ActiveRecord::Base
>
>   hobo_model # Don't put anything above this
>
>   fields do
>     name    :string
>     number    :integer
>     trip    :integer
>     sort    :integer
>     fee        :inetegr
>     main_service    :string
>     timestamps
>   end
>
> #  has_many :exceptions
> #  has_many :weeks
> #  has_many :dates
>
>   # --- Hobo Permissions --- #
>
>   def creatable_by?(user)
>     user.administrator?
>   end
>
>   def updatable_by?(user, new)
>     user.administrator?
>   end
>
>   def deletable_by?(user)
>     user.administrator?
>   end
>
>   def viewable_by?(user, field)
>     true
>   end
>
> end
>
> Any thoughts?
>
> Thanks!
>
>
> >


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