Hi there Yes, I know very little of ruby. I must take a crash course? Probabily. Anyway, I try to ask this here.
I have a control: customer_controller. >From here, I can do something like: @id = 1 @customer = Customer.find(id) Now @customer will contain all the fetched record for customer with id = 1. Great. >From this controller I will render an html page. Somewhere the view will print test. SOmething like: "This is your account" But I want to fetch this text from the database. The customer table also have a field named lang. Having a table called "page_texts" I want from customer_controller, using the field "lang* for the current customer, fetch all the record for the customer's language. Should I do this from customer_controller? Or is it a bad idea? Do I need to create the lang_controller? And how do I, from customer_controller, include the rows from the language table? Thanks. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

