Something
public ruby v1 · immutable#in a controller action - works@post = BlogPost.find(:first, :conditions => ["Permalink_Title='?'", @params[:pl_title]])@params[:id] = @post['id']#in a model method - Doesn't workpost = self.find(:all, :order => "Post_date DESC", :conditions => ["id=?", post_id])return post['Reads']