Hmmm, I seem to be uncovering a more basic layer to my miscomprehension. Thanks people, I think your input will come in handy, but bear with me for a minute:
Here's where I got to in trying to debug (just noticed stdout in the controller is the server stdout, handy). Hence its long winded style: [in controller method] all=Album.find(:all) @albums = Array.new tmp=params[:find_id] all.each { |rec| if rec.artist_id == tmp @albums.push rec else puts "->#{rec.artist_id} != #{tmp}" end } Now, what I find mind boggling is some of the output: ->67 != 67 ->67 != 67 ->67 != 67 ->67 != 67 ->67 != 67 ->67 != 67 ->67 != 67 WHAT THE HECK? I'm new to ruby, this seems an odd feature...I would guess this is about data types??!!? Both numbers are sourced from an sqlite INTEGER. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---