Method: Play::Song#dequeue!

Defined in:
lib/play/song.rb

#dequeue!(user = nil) ⇒ Object

Remove a song from the queue

user - the User who is requesting the song be removed

Returns true if removed properly, false otherwise.



51
52
53
54
# File 'lib/play/song.rb', line 51

def dequeue!(user=nil)
  self.queued = false
  save
end