module Basepack::Model

Public Instance Methods

destroyed?() click to toggle source
# File lib/basepack/model.rb, line 25
def destroyed?
  true
end
id() click to toggle source

Always return nil so when using form_for, the default method will be post.

# File lib/basepack/model.rb, line 21
def id
  nil
end
new_record?() click to toggle source

Always return true so when using form_for, the default method will be post.

# File lib/basepack/model.rb, line 16
def new_record?
  true
end