Error when trying to connect with another table, not in models

2 views
Skip to first unread message

Harisankar P S

unread,
Oct 25, 2013, 8:14:27 AM10/25/13
to datam...@googlegroups.com
I am working on a rails project that uses DataMapper, my aim is to insert the details of a user into the table of prosody server. I haven't created a model file for the table in my model directory as its not related to my rails project. So I tried to execute it as a plan SQL query. 

Code available here: http://csnipp.com/s/26

This code worked before when I tried, but today on a fresh table it seems to break. Can you have a look and kindly let me know what i did wrong. 


regard, 

Hari
Reply all
Reply to author
Forward
0 new messages