search for: whitespacekil

Displaying 2 results from an estimated 2 matches for "whitespacekil".

2005 Dec 07
3
ActiveRecord::Observer problem
...activity_log" end in my local_environment.rb require ''lib/activity_observer'' ActivityObserver.instance why does nothing ever seem to happen when I create a new Customer? I expect the database to be populated and the log to be updated, but neither happens Looking at the WhitespaceKiller and the api docs, I don''t t hink I''m doing anything wrong, but help would be greatly appreciated Kev
2006 Nov 17
4
set empty values as null in the database
Le''s say that I have a table called people and the column middle_name is nullable. If the user enters say blank or empty space then in the database it is recorded as empty space. I would like in all my models all empty spaces to be recorded as null. I guess I can write a plugin which will do so for all the models but I''m sure something like that should already be existing.I