Noooob question (2 days ruby experience
I have a plugin almost doing what I want but have a hang up here:
posts = Post.where('user_id = ? and post_number = ?', params["uid"], params["tid"]) .order(created_at: :desc) .limit(params["total"])
I’ve tried a number of versions. but they all case errors .
It feels more like a query issues than syntax but I bow before the experts edu-mecate me.