Where are you calling find_first_in_group and what is it supposed to do.

Luke

On 2010-10-16, at 7:46 AM, Evanoshki Brataslavainskinski wrote:

> Hi..  I would appreciate some help with the following, because I have
> tried to find the solution on the web, but I am still no closer to
> resolving my issue..
> 
> I have a store_controller with an index method and a view for index..
> 
> I have also created a new method called find_first_in_group.  This
> method does not have a view.. I want to call it from the index view..
> Also, this method needs an argument to look up a specific field.
> 
> In other programming languages it would be something like:
> find_first_in_group(image_url).  When I try this it says 'undefined
> method'.  How to tell it where to find the method?
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> 
> -- 
> 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.
> 

-- 
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.

Reply via email to