Admins can add locations

Let's admins create locations (e.g. Brooklyn, NY) from the dashboard.  Users can then search for locations.  Entries will be associated with locations, and users will be able to see what plants or animals users have seen in particular locations.
I did it this weird way, because I couldn't figure out how to get the first from the active record relation that the search returns.  Maybe I can turn the relation into an array?