[Rails] can''t convert Fixnum into String ??

Ioana Kanda
Thu, 01 Jun 2006 10:17:48 -0000

Hi
Maybe this: @purchaseorder.project_id.to_s

On 6/1/06, scott <scott@boxuk.com> wrote:
>
> I have been getting this error message on various pages, just wondering
> if anyone could explain whats going wrong, and the best way to correct
> it
>
> code that is cuasing the problem is below
> @project = Project.find(:first, :conditions => "id = " +
> @purchaseorder.project_id)
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>



--
Cheers,
   ioana k&a
http://boulangerie.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...