Yes... That would have been much more helpful... Also, can you have the error message tell what file the error is in? Hobo makes it easy to do all your models at once (or at least several at once) and then do a single migration. Unfortunately, if something goes wrong, it doesn't give you any information at all on where the problem is. I had to track down the problem by renaming all my models and running the migrations one at a time.
Thanks! Mike On Thu, Aug 28, 2008 at 1:43 AM, Tom Locke <[EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
