how i wholly arrangement equipment go certain user (using restful_authentication)?


i have web concentration users documents. any user have documents:



user.rb:



has_many :documents


document.rb:



belongs_to :user


document_controller.rb:



def index
@documents = document.find(:all)
end


i am controlling restful_authentication plugin. here question: i controller wholly arrangement papers belongs any user? right shows papers users.



i am controlling latest chronicle rails.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?