strong parameters

I’m trying to debug a gem for the first time This gem has attr_accessible methods in it’s models so I replaced them with strong parameters but I get unknown method for in this case post_params even though post params is defined in the posts controller

If you define a method such as post_params in the controller, it will only be accessible in the controller, and probably not in the gem. What gem is it, maybe this has been encountered before?