Sha256: f438b6806cfaa360088a23fdacf521c72a5f1a283ae71d625f1ad7fb2a6158e8
Contents?: true
Size: 315 Bytes
Versions: 1
Compression:
Stored size: 315 Bytes
Contents
class Knjtasks::Customer < Knj::Datarow has_many [ {:class => :Project, :col => :customer_id, :depends => true} ] def self.add(d) d.data[:date_added] = Time.new if !d.data[:date_added] end def html return "<a href=\"?show=customer_show&customer_id=#{id}\">#{name.html}</a>" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
knjtasks-0.0.3 | models/class_customer.rb |