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)?
Mark Van Holstyn
2006-Jun-16 11:30 UTC
[Rails] ActiveRecord, using sql functions for some attributes
I made a rails plugin for using SQL Functions in rails. If you would like it, let me know. mark On 6/16/06, zven <zven@nm.ru> wrote:> > 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)? > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Mark Van Holstyn mvette13@gmail.com http://lotswholetime.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060616/d839e38e/attachment.html
On Fri, 2006-06-16 at 07:30 -0400, Mark Van Holstyn wrote:> I made a rails plugin for using SQL Functions in rails. If you would > like it, let me know. >Yes! I would like it :) I think others will like it too...
Mark Van Holstyn
2006-Jun-16 18:32 UTC
[Rails] ActiveRecord, using sql functions for some attributes
I have released a new plugin offering the ability to use built-in database functions within ActiveRecord. Please visit http://www.agilewebdevelopment.com/plugins/activerecord_database_functions . If anyone has any questions, suggestions, or improvements, please let me know! Thanks, Mark Van Holstyn (mvanholstyn@mktec.com) Zach Dennis ( zdennis@mktec.com) -- Mark Van Holstyn mvanholstyn@mktec.com http://www.mktec.com <http://lotswholetime.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060616/dc1b5280/attachment.html