search for: mrpunkin

Displaying 8 results from an estimated 8 matches for "mrpunkin".

2006 Mar 13
5
UPS Shipping Table?
Has anyone been able to get a UPS shipping calculator implemented into their site with Rails? It seems the only options they show on their site both use UPS''s own page displayed either standalone or within your own header and footer, but no straight API with a callback or anything. Can anyone point me in the right direction? -- Posted via http://www.ruby-forum.com/.
2006 May 11
2
open and close helper tags?
Hello everyone. I have a custom thumbnail gallery that I am creating with images pulled in a specific order from an array of image ID#s. What I essentially want to do is have a helper-setup where I can do an opening helper tag, such as <% open_image_gallery %> and then be able to place inside of it specific tags associated to the options specified in the opening tag, say the list of
2006 Feb 07
21
Paypal and Rails
Hello everyone, I am looking for a way to pass off a simple payment to paypal using our own interface. I understand that this requires making full use of Paypal''s API since we won''t be using their shopping cart or anything. I found the article by Pranav Bihari on his site and in the Wiki on using SOAP4R and the paypal WSDL file to interface with paypal web services, but I
2006 May 18
1
HABTM destroy works in console, not in web browser.
In console I can set image = Image.find(id) and then do image.destroy and it works fine. It even cleans up the HABTM relationships thanks to a before_destroy method. The problem is though that when I try and do the same thing in my web browser, either in my view or via the URL scheme of /controller/destroy/id it gives me a "stack level too deep" error. Anybody know why it would work
2006 Mar 21
1
Valitation only on one page?
Hello there, I have a "user" object essentially that contains address information that gets stored in the database. The user can sign up and go through the whole page before he needs to enter that information which is associated with a billing process. Without having to write some odd validation based on the request_uri and passing it to a custom validation method is there any way
2006 Jan 04
0
update_attribute works, update_attributes doesn''t, why?
Hello again... so I narrowed my problem down. For some reason, while using login_generator, any User object I pull from the DB can be updated one attribute at a time using update_attribute, but when I try and do update_attributes it fails every time. Is this a limitation with login_generator that I don''t know about, or is there a way around this? I also tried the .update method and
2006 May 24
2
"Stack Level Too Deep" issue in HABTM Unit / Functional Test
Hello guys. I was able to figure out that my "stack level too deep" error I was getting with my HABTM destroy method was the result of a bug in rails 1.0. I upgraded to 1.1.2 and now the views and any console-run commands for destroying AR objects linked together via HABTM work just fine. I have HABTM setup between stories and submissions. The issue is that the destroy methods in
2006 Jan 03
5
update command not updating DB
I really need your help guys... I spent 6 hours on this simple update command today that should work. It works fine in my other controller, but doesn''t work in this one for some reason. Here is my controller code for the list view, and then the update command: ====== def edit @user = User.find(params[:id]) end def update @user = User.find(params[:id]) if