From: BlueHandTalking Date: 2010-01-13T04:45:04+09:00 Subject: Re: NOOB Question on Instance Variable Oh, I thought it was based on Ruby, and Rails is written in Ruby that it fit into the category of being about Ruby? Jet On Jan 12, 11:29 am, Iñaki Baz Castillo wrote: > El Martes, 12 de Enero de 2010, BlueHandTalking escribió: > > > I have a class photo. It belongs_to a project. > > > In my ProjectsController I am creating 2 instance variables: > > > @displayphoto = Photo.find_by_project_id(params[:id]) > > > ...and also > > > @photo = @project.build_photo > > Hi, this is a list of Ruby and your question is related to RubyOnRails that is > a *web framework* coded in Ruby. > Please ask such question in a RubyOnRails maillist. > > -- > Iñaki Baz Castillo