Fixed blank value issue
Removed strict dependency on rails and pundit