search for: activerecord_database_functions

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

2006 Aug 18
1
customization of ActiveRecord models
I''m trying to determine how/if I can use MySql''s spatial extensions with ActiveRecord. The spatial extensions usually require inserts in the following format: INSERT INTO `locations` (name, point) VALUES ("location name",GeomFromText(''POINT(<lng> <lat>'')); And reads as SELECT name, AsText(point) AS point FROM locations; While I
2006 Jun 16
3
ActiveRecord, using sql functions for some attributes
Hi. I need to use functions INET_ATON, INET_NTOA for IP address retrieving. Is it possible to make this transparently (without custom SQL for saving, updating and retrieving)?