creddit/config
Andrew Tomaka d3dd0ff848 Add the subcreddit MVC
Notes on closing subcreddit:

This doesn't seem great.  Would be slightly better if closed could be referenced
as true or false instead of '0' or '1' in the model.  Testing this is a bit
messy, but Tiemcop makes it a bit better.

Notes on subcreddit validations:

This is still not ideal.  For starters, from
http://guides.rubyonrails.org/active_record_validations.html:

"Note that some databases are configured to perform case-insensitive searches
anyway."

It also seems difficult to validate fields that are set in before_save since
validations occur before callbacks.  Revisit this (perhaps friendly_id wll save
us).
2015-07-13 17:01:12 -04:00
..
environments Initial commit 2015-07-08 10:24:41 -04:00
initializers Add user creation 2015-07-09 16:31:41 -04:00
locales Add user creation 2015-07-09 16:31:41 -04:00
application.rb Initial commit 2015-07-08 10:24:41 -04:00
boot.rb Initial commit 2015-07-08 10:24:41 -04:00
database.yml Initial commit 2015-07-08 10:24:41 -04:00
environment.rb Initial commit 2015-07-08 10:24:41 -04:00
routes.rb Add the subcreddit MVC 2015-07-13 17:01:12 -04:00
secrets.yml Initial commit 2015-07-08 10:24:41 -04:00