[Rails] Re: class methods from module where active rec is involved

2010-06-16 Thread Jedrin
oops, I needed to do self.primary_key = 'something' On Jun 16, 11:43 am, Jedrin jrubia...@gmail.com wrote:  I have a module as shown below and when I extend an active record to use it, I can not access the primary_key method. In a simple test program using a similar approach where active

[Rails] Re: class methods from module where active rec is involved

2010-06-16 Thread Jedrin
oops, I needed to do self.primary_key = 'something' On Jun 16, 11:43 am, Jedrin jrubia...@gmail.com wrote:  I have a module as shown below and when I extend an active record to use it, I can not access the primary_key method. In a simple test program using a similar approach where active