Frederick thanks It was my mistake. Reopen for Contact was in my project.

I added an error model and forgot. Following code was there
request_contact.rb file
class Contact < ActiveRecord::Base
  belongs_to :request
  belongs_to :contact
..

Interesting moment here is that this reopening doesn't appear locally.
That is :contact added like a method. I guess it is difference in prod
and dev modes?


On 6/8/10, catz <trusc...@gmail.com> wrote:
> Definitely not. The project is the same. I'm just git push it. o.k
> i'll dig into prod vs dev mode and try to see the difference. Anyway
> thanks a lot for your attention.
>
> On 6/8/10, Frederick Cheung <frederick.che...@gmail.com> wrote:
>>
>>
>> On Jun 8, 1:37 pm, Roman Catz <trusc...@gmail.com> wrote:
>>
>>>
>>> There are different numbers of methods. Why? What are the methods
>>> contact and contact= for Contact class?
>>
>> Are you re-opening the Contact class anywhere? Is the difference local
>> versus heroku or development versus production mode (in production
>> mode all your source gets loaded ahead of time which can sometimes
>> pull in files you wouldn't normally have loaded)
>>
>> Fred
>>
>> --
>> 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 rubyonrails-t...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rubyonrails-talk+unsubscr...@googlegroups.com.
>> 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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to