Add service_area filter. Closes #51.
Merge pull request #220 from codeforamerica/service-area-filter

Add service_area filter. Closes #51.
Update passenger version to 4.0.50
Add link to demo admin credentials if on demo site
Turn on SSL in production.

Heroku apps are SSL-enabled by default, and to take advantage of that, all we need to do is turn on SSL in the Rails production config file.

To use SSL with a custom domain, read the following section in the Wiki:

https://github.com/codeforamerica/ohana-api/wiki/How-to-deploy-the-Ohana-API-to-your-Heroku-account#using-a-custom-domain-name-and-ssl-configuration
Merge pull request #221 from codeforamerica/41-enable-ssl

Turn on SSL in production. Closes #41.
Highlight fields with errors & update validations.

Closes #188.

Rails automatically surrounds a field that failed to pass validations
with a div that has a class called `field_with_errors`. For some
reason, this doesn’t get added to serialized fields, so I had to write
custom methods in `form_helper.rb`.

I also updated the HTML for some of the fields so that the highlighted
field would retain the same appearance as the regular field.

While working on this, I realized some of the model validations could
be refactored and simplified.
Merge pull request #222 from codeforamerica/188-highlight-error-fields

Highlight fields with errors & update validations.
Use env var to turn HTTPS on or off.

Using an env var to turn SSL on or off allows for more flexibility.
Move status controller into api namespace.

This will make the status endpoint accessible via this URL:

http://ohana-api-demo.herokuapp.com/api/.well-known/status

If you are using a subdomain with a custom domain, it would look
something like this:

http://api.smc-connect.org/.well-known/status
Merge pull request #224 from codeforamerica/update-status-controller

Move status controller into api namespace.
Specify subdomain for Devise mailers.

Since we have both a developer and admin portal, we need to make sure
that the links provided in the emails sent by Devise (such as when a
user signs up or asks to reset their password) point to the correct
portal.

I also cleaned up the localization and copy for the portals.
Merge pull request #225 from codeforamerica/fix-devise-issues

Specify subdomain for Devise mailers.
Update Ruby version to 2.1.2
scaffold the welcome page
merge with master
structure the welcome page layout
play around with the layout