RSS 1 project tagged "rails-3"

No download No website Updated 09 Feb 2011 protective

Screenshot
Pop 12.29
Vit 34.11

protective protects active records from being destroyed in a declarative way: < protect_if :attachments, "Record has attachments and cannot be destroyed" > . Of course, you may pass the name of any defined method. If its result evaluates to present?, the record is not going to be destroyed. No exception is thrown, but a message is added to the errors object of your model. This may then be used further on.

Screenshot

Project Spotlight

slapt-src

A slackbuild utility.

Screenshot

Project Spotlight

check_tfl

A Nagios check for Transport For London services.