Displaying 20 results from an estimated 300 matches similar to: "Ajax.Autocompleter is not a constructor"
2006 Feb 27
1
@content_for_sidebar?
Okay, I see this instance variable places, but I can not determine if it is real
or where the content comes from. I''ve tried views/<controller>/sidebar.rhtml,
_sidebar.rhtml, views/layouts/sidebar.rhtml and views/layouts/_sidebar.rhtml.
Does this actually exist? What''s the Rails Way to make a good sidebar?
http://www.google.com/search?q=content_for_sidebar
Thanks,
2006 Jan 07
3
script.aculo.us: autocomplete does not work
I copied an exact copy of "http://demo.script.aculo.us/ajax/autocompleter"
to my harddisc inclusive all .js and .css.
Then I changed "new Ajax.Autocompleter(''contact_name'',
''contact_name_auto_complete'', ''/ajax/auto_complete_for_contact_name'', {})"
to
"new Ajax.Autocompleter(''contact_name'',
2006 Feb 10
0
AJAX update for select list onchange?
Hi Rails Users,
I have a select list that I''d like to use to update a div onchange.
Right now I just have the div appear, but not update:
<%= select_tag( "profiles_select", option_tags = @profiles,
{ :onchange => "new Effect.Appear(''the_profile'',
{ duration: 0.5 } );"
2006 Feb 14
1
Controlling the controller for text_field_with_auto_complete
Hi Rails,
I have a text_field_with_auto_complete that I would like to execute in a
different model than the view that rendered it. Is there a good way to go about
this? Thanks,
--Dean
--
Take your time, take your chances
[3278.7 km, 273.4] Apparent Rennerian
--------------------------------------------------------------------------------
It matters not how strait the gate, / How charged with
2006 Feb 28
2
Comment out RHTML code?
I''d like to be able to comment out a few lines of RHTML code easily.
With HTML you can just surround the code in <!-- ... -->, but if you
do that with the RHTML, it still gets executed, then the resulting
HTML is commented out. Sometimes I''d like to be able to leave the
code in but not have it evaluated..usually just for quick tests, but
sometimes I want to take the
2006 Feb 28
2
AJAX: do render but show element in same click?
I''m a rails newbie.
I''ve got a link_to_remote that puts a partial render into a div
("note1", "note2", etc.). As part of the display that comes up, I put
in a hide note link (element.toggle). Click that, the div goes away,
everything''s great... except now I can''t get it back.
How can I call the remote AND make the div show at the same
2006 Mar 03
0
unused composed_of bits
I implemented a Temperature model for my application. It is pretty basic,
composed of a temperature, a unit and some conversion methods. In my app model
I decided to store temperature values in Fahrenheit, so there is no need to
remember the units between invocations. I am having a little trouble composing
my app model.
A little bit of my temperature class:
class Temperature
# Composed of
2007 Apr 12
0
[LLVMdev] Compiler Name
Invictus - unconquerable, and Invictus.org doesn't appear to exist.
On Apr 12, 2007, at 1:34 AM, Bill Wendling wrote:
> Suggestions:
>
> Zembla - It's a fictional northern European country in "Pale Fire"
> by Nabokov.
> Pala - The island utopia in Aldos Huxley's "Island".
> Thra - The world of The Dark Crystal.
>
> -bw
>
2005 Dec 08
4
AutoCompleter afterUpdateElement
Any ideas how I can submit say, a person ID instead of the person''s name
on an autocompleter input field? Surely this is a common need.
Thanks!
Daniel
2003 May 27
2
portupgrade issue 4.8-STABLE
Hi all,
Having a bit of a problem with portupgrade on a -STABLE machine:
[root@erwin]/root: portupgrade -aRn
---> Session started at: Tue, 27 May 2003 22:54:00 +1000
closed stream
---> Session ended at: Tue, 27 May 2003 22:54:01 +1000 (consumed 00:00:01)
[root@erwin]/root:
pkgdb -F does the same thing. Any clues?
cheers,
Rob
[root@erwin]/root: uname -a
FreeBSD erwin.number6
2003 Apr 04
3
green_saver source missing
Trying to build a fresh kernel, have already done a buildworld with sources
updated as at 8:20am UTC
===> green_saver
cd: can't cd to /usr/src/sys/modules/green_saver
*** Error code 2
Stop in /usr/src/sys/modules.
*** Error code 1
Stop in /usr/obj/usr/src/sys/ERWIN.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Where'd it all go?
2007 Apr 12
3
[LLVMdev] Compiler Name
Suggestions:
Zembla - It's a fictional northern European country in "Pale Fire"
by Nabokov.
Pala - The island utopia in Aldos Huxley's "Island".
Thra - The world of The Dark Crystal.
-bw
2006 Feb 08
29
Autocomplete and Firefox
Having problems with the autocomplete on my linux box and firefox.
When I use form tags it breaks, without form tags everything works fine.
Exact copy of the example provided, but I added form tags.. The initial
search and select works but then the box sort of "locks up" and I can''t
change it at all, If I do try to type something nothing changes but a
second later the whole
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
I have searched a lot for a solution, but I could not find it! I am trying
to make a rails application after watching Michael Hartl''s tutorial and
when i fill data manually and submit it nothing happens and nothing records
in the Mailers table and I am facing the following error:
Failures:
1) Mailer pages mail us with valid information should send a mail
Failure/Error: expect
2005 Nov 20
1
mySQL 5.0 upgrade - incompatible DateTime format?
I''ve upgraded to mySQL 5.0, and it''s gone pretty smoothly except that on
DateTime.now doesn''t seem to return a value that mySQL likes any more,
as seen in the following exception:
Incorrect datetime value: ''2005-11-20T15:33:12-0800'' for column ''logged_at'' at row 1: UPDATE notes SET `due_on` = ''2005-11-20'',
2009 Nov 14
1
Nagios object inheritance
So I''m revisiting puppet''s management of nagios now that 0.25.1 is out
and I want to say thanks for the updates to all the nagios types.
However, there is one huge, gaping hole that''s been asked about before
in 2 different threads but that''s never been addressed: object
inheritance. For it to work, it requires the object being inherited
from to have a
2006 Jun 19
3
Parent Child form using Partials
I am trying to make a simple application which consists of contacts and
their addresses.
class Contact < ActiveRecord::Base
has_many :addresses
end
class Address < ActiveRecord::Base
belongs_to :contact
end
I would like to be able to edit/add addresses from within the edit/add
of the contact. I scaffolded the contact and address objects and
modified the contacts/_form partial as
2013 Feb 11
1
Puppet resources and Nagios Contacts\Contactgroups
I''m currently defining nagioscontacts one-by-one like so;
@@nagios_contact { username1:
ensure => present,
use => "generic-contact",
contact_name => username1,
alias => "user1",
email => "emailaddress1",
target => "/etc/nagios/conf.d/contacts/username1.cfg",
2006 Apr 10
1
random | in join statement with more than one :include
I have an ActiveRecord class that has several has_many,belongs_to,
habtm, and the new has_many => :through relationships.
Whenever I try a
find(:all, :conditions => "some conds", :include [:relationship])
it works fine, but if I have
find(:all, :conditions => "some conds", :include [:relationship,
:other_relation])
it gets a sql error such as
Mysql::Error: You
2003 Jan 06
8
Some time off
Until further notice, I will not be involved in Shorewall development or
support.
-Tom
--
Tom Eastep \ Shorewall - iptables made easy
Shoreline, \ http://shorewall.sf.net
Washington USA \ teastep@shorewall.net