search for: find_by_song_id_and_contest_id

Displaying 1 result from an estimated 1 matches for "find_by_song_id_and_contest_id".

2006 Jun 01
0
Possible RJS Implementation?
...nd_or_create_by_song_id_and_contest_id(@song.id,@ contest.id) @elgibile_songs = ContestEntry.elgibile_songs(@member.id, @contest.id) end def contest_unsubmit #unsubmit: remove a contest entry @contest = Contest.find(params[:id]) @song = Song.find(params[:song_id]) c = ContestEntry.find_by_song_id_and_contest_id(@song.id,@contest.id) ContestEntry.delete(c.id) end Are there any tutorials that cover what I want to do? I''m thinking I may have to explore RJS a little bit. Thank you, Dave Hoefler -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonr...