Tag: rails

Rails controller namespaces

Mainly used if you have actions on the same controller that deals with “admin” and “non-admin” users. This eliminates the need to put a lot of redundant checking on actions just to differentiate from these roles. And also, it’s a nice way to organ…

Website in 1 week, wtf!

And this is not some ordinary site, a sort-of social networking site! Until now I still can’t believe my friend and I took the project. You can’t create a site in one week?! Maybe a personal site (weebly FTW), but not a social networking site. I m…