Acts_as_attachment, what to check b4 db call?

question,

using aaa and fetching all records that belong to a user, is

current_user.login what is use?

for example if user has_many notes, notes belong_to user…

@usernotes = Note.find(:all, :conditions => [“user_id = ?”,
current_user.id
])

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs