new stuff
This commit is contained in:
parent
65472c55cc
commit
68b925ea5e
29 changed files with 368 additions and 33 deletions
2
lib/tasks/clear_db.rake
Normal file → Executable file
2
lib/tasks/clear_db.rake
Normal file → Executable file
|
@ -1,5 +1,5 @@
|
|||
namespace :db do
|
||||
desc "Clears all date in db"
|
||||
desc "Clears all data in db"
|
||||
task :clear_data => :environment do
|
||||
users = User.all
|
||||
puts "Number of users in db: #{users.size}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue