Displaying 10 results from an estimated 10 matches for "xt7jha".
2006 Apr 02
13
autocompletion: hooking ''afterUpdateElement'' in Rails
Hi everyone,
I need to trigger a Rails action after the autocompletion is completed
(when the user has selected an option).
From the scriptaculous doc, I figured out ''afterUpdateElement'' is the
place to be but I wonder if/how and where I can hook my javascript code
to this event in Rails code (I''d like to keep using the helper, if
possible)?
I tried passing many
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
...HTML attachment was scrubbed...
> URL:
> http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20060227/c00e64fd/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Mon, 27 Feb 2006 17:21:30 +0100
> From: David Z?lke <dz-c16oUwy5/3O+XT7JhA+gdA@public.gmane.org>
> Subject: Re: [Rails-spinoffs] Disabling anchor clicking in a draggable
> To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> Message-ID: <87C5C86C-CE67-431A-A9DF-33E57355A79D-c16oUwy5/3O+XT7JhA+gdA@public.gmane.org>
> Content-Type: tex...
2007 Jul 26
2
Ruby 1.8.6 + Rails 1.2.3 + ErrorNotification == NameError !?
...test versions of Ruby and Rails. Now it
seems to me that the plugin ErrorNotification doesn''t run anymore. I
even tried to create a new project, installed the plugin and added the
following line to my development.rb:
[code]
ExceptionNotifier.exception_recipients = "adress-QPFuF50DZNq+XT7JhA+gdA@public.gmane.org"
[/code]
When I try to start my server it hangs with an error. I tried it on
Mac and Windows, in development- and production-mode, with webrick and
mongrel and I''m always getting the following error:
[code]
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/l...
2006 Oct 17
3
action mailer, error Subject: Header must not be multiple
...ails,
:subject => grouptitle, #the error comes from this line
:body => { :name => names,
:phone => ''08-9492332'',
:email => emails,
:message => pages,
},
:from => "yoni-A+lxSsK1Ony+XT7JhA+gdA@public.gmane.org"
)
end
#my email Model(mailer.rb)
class Mailer < ActionMailer::Base
helper ActionView::Helpers::UrlHelper
def generic_mailer(options)
@recipients = options[:recipients]
@from = options[:from]
@cc = options[:cc] || ""
@bc...
2009 Mar 26
0
Error On relative_url_root
I''m attempting to mash together Adva CMS'' Fckeditor and the Fckeditor
plugin provided by Scott Rutherford.
http://blog.caronsoftware.com/2008/6/21/fckeditor-plugin-0-5-1-released
The Scott''s plugin has a controller than handles the Fckeditor file
upload and browse, but it errors out on the following lines.
def upload_directory_path
uploaded =
2006 May 09
0
[semi-OT] Find position of floated elements
I am trying to find the actual _displayed_ position of a floated
element using Javascript. Does anyone know of a technique to do this?
I know that per the CSS2 spec, floated elements are removed from the
flow and thus don''t really have a position (AFAIK). However, I am
trying to find the position in which the item is actually displayed.
Prototype''s Position object only
2006 Mar 03
3
Serializing Forms with disabled fields
Does anyone know why Prototype adds disabled fields to the query
string generated by Form.serialize()?
I have looked through the code, there is no way around that, I''ll
have to do it by hand.
Nevertheless, I find that behavior a little irritating. Any ideas why
it''s implemented like this?
Cheers,
- David
2005 Nov 02
4
acts_as_metadata?
I''m running into the need (on at least one project now) to implement
end-user-customizable "metadata" or properties on model objects. The
standard example would be a Person class that had first_name,
last_name, etc. but would need to be extended real-time (through the
web admin interface) with properties such as phone_number : varchar
(30). I''ve done some basic
2006 Apr 18
7
[Prototype] evalScripts not working for me
I think I am experiencing the variable scope problem with evalScripts.
I have this block of code being returned from an Ajax.Updater call,
as shown by FireBug or one of those other Firefox plugins. I have
tried to boil it down to the minimum code.
<script type="text/javascript">
test = function() { alert("test"); };
</script>
<table
2005 Aug 19
3
WEBrick OS X StartupItem?
Is it possible to create a Startup Item for WEBrick? My startup item,
named swu, works fine when I run it from the command line, just not
when the computer is starting up. I''m wondering if some resources are
missing for ruby to load at this point... or something. Here''s output
from /var/log/system.log... Any suggestions would be appreciated.
Aug 18 21:18:58 localhost