mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
9 lines
129 B
Ruby
9 lines
129 B
Ruby
class Topic < ActiveRecord::Base
|
|
def condition_is_true
|
|
true
|
|
end
|
|
|
|
def condition_is_true_but_its_not
|
|
false
|
|
end
|
|
end
|