Updated _thubmnails.html.erb to fix undefined method `available?'