mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
WIP - begin adding reports
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class Report
|
||||
def self.bikes_sold_per_year
|
||||
"KITTIES"
|
||||
end
|
||||
end
|
||||
+7
-3
@@ -1,6 +1,10 @@
|
||||
class User < ActiveRecord::Base
|
||||
# Include default devise modules. Others available are:
|
||||
# :confirmable, :lockable, :timeoutable and :omniauthable
|
||||
devise :database_authenticatable, :registerable,
|
||||
:recoverable, :rememberable, :trackable, :validatable
|
||||
# :confirmable, :lockable, :timeoutable, :omniauthable, :registerable,
|
||||
|
||||
devise :database_authenticatable,
|
||||
:recoverable,
|
||||
:rememberable,
|
||||
:trackable,
|
||||
:validatable
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user