app/helpers/note_helper.rb
# renders notes for an object with the following parameters
#
# object - the object to render notes for
# :notes_hash - a hash table whose keys might contain the object - the
# value will be the cached array of notes for that object
# :editable = true (default) notes has linkable add and edit functions subject to
# privileges
renders notes for an object with the following parameters
object - the object to render notes for
:notes_hash - a hash table whose keys might contain the object - the
value will be the cached array of notes for that object
:editable = true (default) notes has linkable add and edit functions subject to
privileges
renders notes for an object with the following parameters object - the object to render notes for : notes_hash - a hash table whose keys might contain the object - the value will be the cached array of notes for that object : editable = true ( default ) notes has linkable add and edit functions subject to privileges
def notes_for(object, options = {})
    options[:editable] = true if options[:editable].nil?
    render :partial => 'note/notes',  :object => object, :locals => {:options=>options}
  end
def notes_for ( object , options = { } ) options [ :editable ] = true if options [ :editable ] . nil? render :partial => 'note/notes' , :object => object , :locals => { :options => options } end
renders notes for an object with the following parameters
object - the object to render notes for
:notes_hash - a hash table whose keys might contain the object - the
value will be the cached array of notes for that object
:editable = true (default) notes has linkable add and edit functions subject to
privileges
renders notes for an object with the following parameters object - the object to render notes for : notes_hash - a hash table whose keys might contain the object - the value will be the cached array of notes for that object : editable = true ( default ) notes has linkable add and edit functions subject to privileges
object
<not_specific>
options
<not_specific>