Rails Testing

Ruby code posted by Juan
created at 15 Apr 05:17

Edit | Back
1
2
3
4
5
6
7
class A < ActiveRecord::Base
  acts_as_cool

  def to_param
    "#{self.id}-#{self.permalink}"
  end
end
110 Bytes in 3 ms with coderay