[Rails] Re: Newbie question/help 2 tables, 'sync' cell values

Alexandru Andrei alexandrei at gmx.net
Fri Dec 23 14:41:39 GMT 2005


Mark Reginald James wrote:

> Why do you need the room_no attribute in Problems?  It can be accessed 
> as
> problem.room.room (which you probably should rename as 
> problem.room.number).
> Is it a legacy schema?
   I am not sure what "legacy schema" really means!

Well, firts of all I need it for listing the problems.. And, later on 
(the truth is that I trying to re-write a php/mysql app in RoR (just for 
learning purposes) but I wanted to have the original tables layouts ( 
they were already RubyLike made.. without any knowledge of Ruby :)

  Hm..Thanks!
> 
> --
> We develop, watch us RoR, in numbers too big to ignore.


-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list