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 ¨Âí¬ ¤Âñáki Baz Castillo <i... / aliax.net> 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ñáki Baz Castillo <i... / aliax.net>