Sha256: e3b30c3f456d95988f43345aae06098ae4f1694bcba35d8678214eb194dfa77d

Contents?: true

Size: 117 Bytes

Versions: 21

Compression:

Stored size: 117 Bytes

Contents

Note.class_eval do
  def created_by_username
    party = Party.find(created_by.id)
    party.user.username
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
erp_tech_svcs-3.1.8 app/models/extensions/note.rb
erp_tech_svcs-3.1.7 app/models/extensions/note.rb
erp_tech_svcs-3.1.5 app/models/extensions/note.rb
erp_tech_svcs-3.1.4 app/models/extensions/note.rb
erp_tech_svcs-3.1.3 app/models/extensions/note.rb
erp_tech_svcs-3.1.2 app/models/extensions/note.rb
erp_tech_svcs-3.1.1 app/models/extensions/note.rb
erp_tech_svcs-3.0.12 app/models/extensions/note.rb
erp_tech_svcs-3.1.0 app/models/extensions/note.rb
erp_tech_svcs-3.0.11 app/models/extensions/note.rb
erp_tech_svcs-3.0.10 app/models/extensions/note.rb
erp_tech_svcs-3.0.9 app/models/extensions/note.rb
erp_tech_svcs-3.0.8 app/models/extensions/note.rb
erp_tech_svcs-3.0.7 app/models/extensions/note.rb
erp_tech_svcs-3.0.6 app/models/extensions/note.rb
erp_tech_svcs-3.0.5 app/models/extensions/note.rb
erp_tech_svcs-3.0.4 app/models/extensions/note.rb
erp_tech_svcs-3.0.3 app/models/extensions/note.rb
erp_tech_svcs-3.0.2 app/models/extensions/note.rb
erp_tech_svcs-3.0.1 app/models/extensions/note.rb