Thursday, November 03, 2005

Securing urls

Using associations for security:


Instead of:

@project = Project.find(1)

do

@project = @company.project.find(1)

0 Comments:

Post a Comment

<< Home