similar to: output link_remote_to in helper

Displaying 7 results from an estimated 7 matches similar to: "output link_remote_to in helper"

2006 May 17
0
send_data not working properly with link_remote_to
I''m reading an image in an link_to_remote call,and then using send_data i send the read image as :type => "image/png" :disposition => "inline"...but when the div tag gets updated i see only ascii characters .....but if i do the same operation using normal call(link_to) i see it functioning normal ....could someone explain . my view: <%=
2007 Nov 27
1
routing
Hi all, My site uses subdomains to define an item. Eg http://itemname.mysite.com I fetch the itemname and render the appropriate site from that itemname. The subdomain is used everywhere (eg http://itemname.mysite.com/events, http://itemname.mysite.com/products/show/11, ...) I now want to give the user the possibilty to use a ''real'' domain like www.itemname.com that should
2008 Apr 18
5
show sum of textboxes
Hi all, I have multiple textboxes containing numbers. I want to add up all the numbers and show the sum. Can I select the textboxes by class and sum the content? This also has to happen realtime: when a number is changed ina textbox the sum should also change. can this be done? regards, Stijn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2008 Jul 16
3
constructor in model
Hi all, I have an activation model that when constructed should set the key (column in the activations table) to test. class Activation < ActiveRecord::Base belongs_to :user def initialize this.key = "test" end end When i do ac = Activation.new I gget NoMethodError: You have a nil object when you didn''t expect it! You might have expected an instance of Array.
2006 Mar 18
16
fixrbconfig - does it work on intel macs?
I''m trying now to do "sudo fixrbconfig" in the terminal, and I get this: /usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h does not exist. This probably means you haven''t yet installed Xcode from the Tiger DVD. You won''t be able to compile Ruby extensions without it. Please install it then rerun this program. I''m on an intel mac. Am I unable to use
2008 Nov 29
0
calendar with different types of event - polymorphism
Hi all, I have a calendar. The calendar has different kinds of events. Each event type has additional information so i think i need a new model for each new event type. eg: a game event has additional oponent and oponents colors info. Is this best solved via polymorphism where I create an eventable interface? Thanks Stijn --~--~---------~--~----~------------~-------~--~----~ You received this
2007 Dec 20
3
remove association
Hi all, I have a user has many numbers relationship. When I query User.find(:all, :include => :numbers) I get all the users with their numbers. I''m looking for a method that removes the number from a user eg users[0].numbers[1].delete . I basically want ot remove the association but I''m unable to find such a method. Regards, Stijn