Tag Archive: restful_authentication

Aug 25

Rails Project Setup Script

I got tired of typing the same commands all the time and/or looking up urls for plugins.  Hence this script….  Yes, I know it’s been done before, but this does what I want (for now; I’m sure I’ll edit it). It does the following: Creates rails instance (optionally setting the database, etc.) Installs rspec & …

Continue reading »

Aug 19

rspec, restful_authentication, and login_required

This is partly for myself, and partly for anyone after me….. I have a controller generated via rspec_scaffold — yes, I know, it might not be what all the cool kids are doing, but it works.  I also have restful_authentication set up to use rspec.  So, when I go to add before_filter :login_required, autotest frowns …

Continue reading »