I've updated the gist with the other files.

Colin: I understand that, but that was a semantic decision to keep results
in the plural. I don't think either format should break annotate, though...

Cassiano

On 16 February 2012 13:11, Colin Law <[email protected]> wrote:

> On 16 February 2012 12:45, Cassiano Leal <[email protected]> wrote:
> > Sure, here you go:
> >
> > https://gist.github.com/1844590
>
> Model classes are usually singular, so the class for table
> acceptance_criterion_results would be AcceptanceCriterionResult in
> acceptance_criterion_result.rb
>
> Colin
>
> >
> > Cassiano
> >
> >
> > On 16 February 2012 10:06, Greg Akins <[email protected]> wrote:
> >>
> >> Can you post your model code in a gist?
> >>
> >> On Tue, Feb 14, 2012 at 5:18 PM, Cassiano Leal <[email protected]>
> >> wrote:
> >> > Hi,
> >> >
> >> > I'm trying to use annotate to document my model classes. Two of the
> >> > models
> >> > don't work, though, with the following errors:
> >> >
> >> > $ bundle exec annotate --position before
> >> > Unable to annotate acceptance_criterion_results.rb: #<NoMethodError:
> >> > undefined method `assert_valid_keys' for :acceptance_criterion:Symbol>
> >> >
> >> > Unable to annotate test.rb: #<TypeError: can't convert Symbol into
> >> > Integer>
> >> >
> >> > Annotated (4): AcceptanceCriterion, Invoice, OutdataInvoice,
> >> > TestExecution
> >> >
> >> > There's nothing special about either of the models. Any help is
> >> > appreciated.
> >> >
> >> > I am using Ruby 1.9.3-p0 and annotate 2.4.1.beta1 (2.4.0 crashed
> before
> >> > annotating anything).
> >> >
> >> > Thanks,
> >> > Cassiano
> >> >
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups
> >> > "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
> >>
> >>
> >>
> >> --
> >> Greg Akins
> >> http://twitter.com/akinsgre
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
> >>
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
>
>
>
> --
> gplus.to/clanlaw
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to