Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 183 Bytes
class Sequel::Model
# Allows Rails resource path helpers to work correctly
def to_param
pk.to_s
end
# Make new? play nice with Rails
def new_record?
new?
end
end