The error message mentions line 44:
@user.positions << @cv.positions
@user.positions.save
the full output is here: http://dl.dropbox.com/u/109441/errormessagerails.html
@cv.positions is an array, so from what you're telling me it should
not use "match" as a method.
On Apr 22, 6:38 pm, Colin Law <[email protected]> wrote:
> On 22 April 2011 18:09, Bruno Amaral <[email protected]> wrote:
>
> > I have been building a small app to import a cv from linkedin.
> > Displaying the information is working out perfect, but saving it to
> > the database is turning out to be a challenge.
> > ...
> > When running it, I get the message:
> > undefined method `match' for LinkedIn::Position::Resource:Class
>
> match is a method of String, so I wonder whether it is getting called
> on the above type instead of a string. The error should show a stack
> trace which should show you which line of your code it is failing on.
> Post the complete error and trace if you cannot work it out.
>
> Colin
--
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.