minnestar / sessionizer

Conference session management application
http://sessions.minnestar.org
MIT License
29 stars 23 forks source link

Enable the home page to render a response when no event is set up. #28

Closed jcoyne closed 10 years ago

jcoyne commented 10 years ago

This involves moving the category creation/update from the db/seeds.rb to an initializer. This ensures the app has the data it needs to run even if the admin forgets to rake db:seed

caseyhelbling commented 10 years ago

I like the idea of being able to have the 'no sessions being held right now.' Makes good sense with how we run the events over time.

I've never seen the technique to use the initializer to load some base data... I suppose it works but wouldn't have been the first thing I thought of when trying to debug/figure out what's going on.