muratguzel / letsrate

The best way to add rating capabilities to your rails application and your activerecord models.
http://letsrate.herokuapp.com
198 stars 234 forks source link

eval in your README is a horrible idea #5

Closed apeiros closed 11 years ago

apeiros commented 11 years ago

From your readme: obj = eval "#{params[:klass]}.find(#{params[:id]})" - this screams "abuse me".

muratguzel commented 11 years ago

I will test it ...