Posts in Scaffold

Rails Namespaced Scaffold Generator


When I must create a project with an admin panel, I need to do it fast and my choise for this purpose was rails' scaffold generators. But I must add an :admin namespace for all of my controllers for the admin panel. Rails' default scaffold generator has not a feature like that. So I find a solution with rails admin scaffold gem. This gem is simply make a namespace for scaffold controllers and organize urls and paths accordingly.

written in Controller, Generator, Model, Rails, Scaffold Continue reading →