On Apr 20, 2011, at 8:40 PM, Robin Berjon wrote:

> On Apr 19, 2011, at 23:26 , Domizio Demichelis wrote:
>> Quite simple: you have always to leave your app in a good working state if 
>> you want to successfully run generators or plugin installation (that rely on 
>> the app environment).
> 
> That being said, I ran into another problem with acts_as_list today that 
> doesn't seem to have been documented yet (I'm happy to try to do so, but I 
> may have missed it — just deployed my first Hobo app so not yet completely 
> familiar).
> 
> My deploy to the production environment failed systematically because rake 
> db:schema:load and any other alternative loads the environment which 
> immediately tries to do something with sortable fields, which in turn blows 
> up if the tables haven't already been created because it tries to access the 
> position column straight away. I worked around it by commenting out 
> everything that triggered sortability, running the regular DB creation tools, 
> then uncommenting the same. It worked but it was quite a PITA to figure out :)
> 
> Is this a known issue or is it worth putting together a test case?

This sounds like the DRYML generator is blowing up when it gets to a sortable 
model, although I'm surprised it made it that far... A test case would be 
helpful.

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

Reply via email to