Displaying 6 results from an estimated 6 matches for "tarscher".
Did you mean:
archer
2007 Dec 24
5
output link_remote_to in helper
Hi all,
I have a complex link_remote_to link I need to generate often. I want
to DRY up my view and create a helper that generates this
link_remote_to for me.
Is there a way my helper can output the link_remote_to javascript?
Thanks
STijn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
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.
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