Class: Thredded::DatabaseSeeder::FirstSeedData

Inherits:
BaseSeedData
  • Object
show all
Defined in:
lib/thredded/database_seeder.rb

Direct Known Subclasses

FirstMessageboard, FirstUser

Instance Attribute Summary

Attributes inherited from BaseSeedData

#seeder

Instance Method Summary collapse

Methods inherited from BaseSeedData

create, #find_or_create, #initialize

Constructor Details

This class inherits a constructor from Thredded::DatabaseSeeder::BaseSeedData

Instance Method Details

#findObject



170
171
172
# File 'lib/thredded/database_seeder.rb', line 170

def find
  model_class.first
end