[Rails] finding particular record

Brian Hogan
Mon, 10 Jul 2006 15:26:11 -0000

What database are you using?

Did you try making a Chart model?

On 7/10/06, Mike <mdalsant@gmail.com> wrote:
>
> Hi,
>
> I''m looking for a particular record from a view called
''charts''.  The
> view ''charts'' joins data from a table
''record'' and a table ''owners''.
> I''m trying to pull up data from ''charts'' that
lists certain data from
> ''record''
>
> ie.  I know i need record.id = 5.  Is there a way to do a search from
> the controller side to find the chart that contains record.id =5?
>
>
>
> Thanks in advance, Mike
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...