..solved, "I did it my way" Site-Controller
def index @title ="Willkommen" @news = Article.find(:all, :limit => 3, :order => 'created_at DESC') $news = @news end Right now I don't know what happens with the variable at all. Looks like that way, any controller, even called straight from a different site will participate from the variable called and set by any user. Every time a user calls the site-controller (well and it's the index-site) the variable will be updated. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

