Feature/medium model

Fixes #78 
So the label method function worked, and gave me the name of the medium in
the form, but it still displays as the active record object on the index
page where Im' trying to display the medium.


On Thu, Jul 31, 2014 at 1:37 PM, Trey Terrell <notifications@github.com>
wrote:

> In app/views/admin/art_pieces/_art_piece_form.html.erb:
>
> > @@ -11,6 +10,7 @@
> >      <%= f.input :number %>
> >      <%= f.input :series %>
> >      <%= f.input :percent_for_art %>
> > +    <%= f.association :medium, :collection => Medium.all.map {|medium| medium.medium} %>
>
> I think you want...
>
> f.association :medium, :label_method => :medium
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/osulp/OSU-Art-Walk/pull/97/files#r15668091>.
>