Good catch Brian,
I tried to apply it, but you did it already :-).
Thank you
dd

On Thu, Apr 21, 2011 at 9:06 AM, Bryan Larsen <[email protected]>wrote:

> On 11-04-20 09:00 PM, Domizio Demichelis wrote:
>
>>
>>    Is this a known issue or is it worth putting together a test case?
>>
>>
>> Not completetly sure, but by the way you describe it it might be a bug.
>> Please, could you post a bare working app ( in good working condition)
>> and the steps to reproduce the problem?
>>
>>
> I just ran into something similar.
>
> To reproduce:
>
> git clone https://github.com/Hobo/agility-gitorial.git -b foo
> cd agility-gitorial
> bundle install
> rake db:migrate --trace
>
> Could not find table 'tasks'.
>
> Backtrace indicates problem is probably at dryml_generator.rb:198.
>
>            klass.new.position_column == refl.options[:order].to_s
>
> It's the klass.new that's failing.
>
> I've attached a patch.   It always returns false if the table does not
> exist, so in a way it returns "incorrect" results for sortable tables that
> haven't been created yet, but on the other hand, you can't sort a table that
> doesn't exist.
>
> Gripping hand:  it doesn't matter, we're never doing any real work without
> any tables.
>
> Bryan
>
>
> --
> 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.
>
>

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