[Rails] Re: undefined method 'match' with the Linkedin Gem

2011-04-25 Thread Bruno Amaral
On Apr 23, 10:12 pm, Frederick Cheung wrote: > > >         has_many :authentications > >         has_many :positions, :class_name =>LinkedIn::Position::Resource > > This looks wrong, since :class_name is supposed to be a string > andLinkedIn::Position::Resource isn't However, not using it only

[Rails] Re: undefined method 'match' with the Linkedin Gem

2011-04-23 Thread Frederick Cheung
On Apr 23, 5:09 pm, Bruno Amaral wrote: > adding ruby-debug froze the import page, but I will keep trying to > check the variables as you said. > > about the model, the source code is in the github > projecthttps://github.com/brunoamaral/lwork/blob/master/app/models/user.rb > > class User < Act

[Rails] Re: undefined method 'match' with the Linkedin Gem

2011-04-23 Thread Bruno Amaral
adding ruby-debug froze the import page, but I will keep trying to check the variables as you said. about the model, the source code is in the github project https://github.com/brunoamaral/lwork/blob/master/app/models/user.rb class User < ActiveRecord::Base has_many :authentications

Re: [Rails] Re: undefined method 'match' with the Linkedin Gem

2011-04-23 Thread Colin Law
On 23 April 2011 13:59, Bruno Amaral wrote: > > On Apr 23, 9:24 am, Colin Law wrote: >> On 22 April 2011 22:15, Bruno Amaral wrote: >> >> Please don't top post, it makes it difficult to follow the thread. >> Insert your reply at appropriate points in previous message.  Thanks. >> >> > The error

[Rails] Re: undefined method 'match' with the Linkedin Gem

2011-04-23 Thread Bruno Amaral
On Apr 23, 9:24 am, Colin Law wrote: > On 22 April 2011 22:15, Bruno Amaral wrote: > > Please don't top post, it makes it difficult to follow the thread. > Insert your reply at appropriate points in previous message.  Thanks. > > > The error message mentions line 44: > >        @user.positions <

Re: [Rails] Re: undefined method 'match' with the Linkedin Gem

2011-04-23 Thread Colin Law
On 22 April 2011 22:15, Bruno Amaral wrote: Please don't top post, it makes it difficult to follow the thread. Insert your reply at appropriate points in previous message. Thanks. > The error message mentions line 44: >        @user.positions << @cv.positions >        @user.positions.save > > t

[Rails] Re: undefined method 'match' with the Linkedin Gem

2011-04-22 Thread Bruno Amaral
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:3