search for: mikebannis

Displaying 3 results from an estimated 3 matches for "mikebannis".

2007 Sep 02
2
problem validating uniqueness
I have validates_uniqueness_of :name in my model which works fine when creating a record but doesn''t work when I edit the record. In other words it won''t let me create a record with the same name but I can go in after and update the field without a problem. Why would this happen? -Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you
2007 Jun 03
3
mongrel cluster w/ apache
hi all, i''m working on deploying my app w/ apache and a mongrel cluster. i''ve started by copying the instructions and code from the agile rails book and everything seems to be working fine but apache isn''t forwarding my requests to mongrel the way i expect it should. there''s nothing in the rewrite logs and nothing but 404 errors in the apache error logs.
2007 Jul 12
1
acts as list -- adding or moving new item to new location
right now i''m adding an item to my ''list'' but i''m unsure how to move it to a certain spot in the list. specifically i want to put it at the bottom of the list. i assumed that if i did something like parent.children << new_child then the ''position'' field in the child table would be given some sensible default by rails but instead