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
Post a Comment