On Mon, Aug 10, 2009 at 12:19 PM, djolley<ddjol...@gmail.com> wrote:
>
> Thanks for the input.  I *THINK* that I have it right; but, just to
> avoid any possible confusion, here is my relevant model code:

Yeah, I'm pretty sure that's not what you want :-)

Consider the following:

ripple:~$ irb
>> class Foo
>> def self.profile
>>   "something"
>> end
>> def profile
>>   "otherwise"
>> end
>> end
=> nil
>> foo = Foo.new
=> #<Foo:0x1258040>
>> Foo.profile
=> "something"
>> foo.profile
=> "otherwise"
>>

You'd probably do well to open up a console and try experimenting
directly with Member.profile and variations. Or at least, that usually
helps me get my thinking around a problem.

:fwiw
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
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-talk@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