listens is the right column. I am getting the play count out of there now.


On Thu, Feb 20, 2014 at 11:01 AM, Andrew Kuklewicz <notifications@github.com
> wrote:

> In app/controllers/api/v1/audio_files_controller.rb:
>
> > @@ -70,6 +70,10 @@ def upload_to_storage
> >      audio_file.upload_to
> >    end
> >
> > +  def listens
> > +    AudioFile.increment_counter(:play_count, params[:audio_file_id])
>
> is it play_count, or listens? See migration, it has both.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/PRX/pop-up-archive/pull/467/files#r9919098>
> .
>



-- 
Lasse Christiansen
503-484-8760

links:
http://linkedin.com/in/webdevlasse
http://github.com/webdevlasse

blog:
http:///webdevlasse <http://webdevlasse.tumblr.com>*.tumblr.com
<http://tumblr.com>*