What problem are you trying to solve?
You want to get the posts from a particular user?
./launcher enter app
rails c
u = User.find_by_username("pat")
posts=Post.where(user_id: u.id)
You can get them with the data explorer plugin.
What problem are you trying to solve?
You want to get the posts from a particular user?
./launcher enter app
rails c
u = User.find_by_username("pat")
posts=Post.where(user_id: u.id)
You can get them with the data explorer plugin.