Archive for the ‘Rails’ Category

Creating a secure User model in Rails (Part 2)

In the last post I discussed why I wanted a secure user model, and the design for the database. This post one (hopefully) secure implementation.
Design Time
The requirements for this aren’t particularly high, but here is the basics:

When being created, [...]

Creating a secure User model in Rails (Part 1)

While doing my third year project, one of the issues that has been perplexing me for about the last week is how to create a secure User model in Rails nowadays (version 2.2.2). In the good old days I used to do some magic and it worked, but then restful_authentication came along and everyone seemed [...]