similar to: A quick straw poll

Displaying 20 results from an estimated 60000 matches similar to: "A quick straw poll"

2005 May 12
1
Cross-site Request Forgery
Hi all, I stuck a little bit of information on CSRF on the wiki (http://wiki.rubyonrails.com/rails/show/HowToAvoidCrossSiteRequestForgery) and created a "Security Concerns" page from the home page (http://wiki.rubyonrails.com/rails/show/Security+Concerns) - it would be good to have a single point of information for all know security holes and fixes (even if they aren''t Rails
2005 May 11
1
remote tags for form elements (AJAX)
I noticed on Backpack.com that form input elements (the checkboxes) were making remote calls using onClick. I couldn''t find this behavior in the API - did I miss something or is this just a 37signals addition? - Derek
2005 May 06
7
Rails hosting per user
I''m trying to set up shared rails websites, so every user has its own public_html for rails scripts. I''m not really satisfied with the fastcgi approach (cgi scripts can sometimes be nasty security problems) so I''d like to try the another approach. (If someone knows a good tutorial on installing rails on FreeBSD including the fastcgi configuration that would be nice).
2005 Aug 17
53
Everyone wants a RoR framework
It seems like everyone now has a RoR type framework: Perl: http://dev.catalyst.perl.org/ PHP: http://cakephp.org/ Python: http://www.django.com ASP.NET: http://www.castleproject.org/index.php/Main_Page etc., etc. Has a revolution begun with the birth of these "Web 2.0" frameworks? Its going to be interesting when the tech media begins its mass hype like it did SOAP, XML, etc. a
2006 Jun 16
11
Detecting Body Onload
I have a piece of code that "waits" for body onload. Every 30ms, it tests $(''body''). Seems that isn''t always good enough. I''ve hit situations where the DOM is "partially" loaded somehow. I fixed matters by setting a global flag... <body onload="bodyLoaded=true;"> which provides a better test... of course I could
2006 Jul 24
15
XML Question
I''ve got an XML file which is pretty well structured. I need to retrieve specific elements from that file to fill out empty HTML elements on a page. I think what I need is xPath? Or - is that overkill? Is there some easier way to locate an XML element? What I have in mind is pulling the XML file using Ajax, then xPath to get the bits I need. Am I on the right path and does
2006 Jun 22
8
Ajax in IE 5.5 / Win 98
Are Ajax requests available in IE 5.5 / Win 98? Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Jun 25
17
JavaScript Compression
Is there a good windows-based JavaScript compressor which will reliably compress script aculo and prototype? Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Jun 23
5
OT: Debugging iBook --- help
This is way OT, but here goes... I''ve had an iBook for 2 days now and am debugging a web built with prototype/script aculo / windows / etc... I have no real experience on a Mac. Occasionally, there''s no better way to debug JavaScript than an alert in a loop... Once I have the information information I want from the alert, the loop may want to execute another 300 times. I
2006 Jun 27
14
iframe ... does it have an innerHTML ?
If I dynamically create a hidden iframe, how could I add a document in a string to that element? e.g., var sDocument = ''<html><head></head><body>Hello world.</body></html>''; I''ve tried several variations of appendChild, innerHTML, document.innerHTML, createTextNode. Argh! _______________________________________________
2006 Jun 21
26
Implementing a boolean "switch" in a Class
I need a single boolean which would be "globally" accessible to all instances of a class. Seems like the boolean should be in the class prototype, but I was troubled by the difficulty of setting the prototype boolean to true. Maybe I''m missing something? var MyObject = Class.create(); MyObject.prototype = { bSwitch: false, ... other methods and properties } var oMyOb1
2006 Jul 10
11
prototype hash method
var v1 = { a: ''value for a'', b:''value for b'' } var v2 = { c: ''value for c'', d: function(){some code...} }; var v3 = v2.merge(v1); I''m getting an error doing this... what is wrong?
2006 Jun 15
10
RE: Yahoo!-like Event object emulation/abstractioninPrototype?
If that doesn''t work, then you''ve done something wrong somewhere. ''Cause it works for IE for me and everyone else. The only advantage I see with the YUI toolkit is that it''ll defer attaching events to elements that do not yet exist in the DOM. Big whoop, only a sloppy programmer would try to attach an event to a non-existant element. With Prototype, you can
2006 Jun 19
13
PNG and Alpha-Transparency
Is there a prototype / extension which will assist in cross-browser support of PNG images? http://www.alistapart.com/articles/pngopacity/ It seems to me that a class could be developed which would zip through the DOM and make changes where needed for IE 5.5 / IE 6.0 to handle PNG images. I don''t want to write one if it''s been done before. Sam
2006 Jun 20
5
Multiple Ajax.Request or Ajax.Updater
I''m having a problem with multiple Ajax.Updater instances. I have five small chunks of data being loaded into my homepage, and they seem to be firing off one at a time. So the pieces load up in the order they were called. Maybe I''m being a noob, but shouldn''t all those requests just fire away and then place the content as it gets received? I was doing multiple versions,
2006 Jun 15
3
RE: Yahoo!-like Event object emulation/abstractionin Prototype?
Event.observe(myelement, ''click'', myfunc.bindAsEventListener()); That might fix your wagon. Greg > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Sam Rowe > Sent: Thursday, June 15, 2006 11:24 AM > To:
2006 Jun 30
2
Ajax.Request synchronization (onSuccess before onComplete?)
2 questions regarding the synchronization of these events. 1) is onSuccess called before onComplete ( I assume it is) 2) if called after, is onComplete called after the onSuccess method has completed or are you at the mercy of synchronization issues? Hopefully someone can enlighten me. I tried reading the Prototype.js but couldn''t seem to determine this on my own.
2006 Mar 29
3
V1.6.0 is not stable in IE...
Hi, I tried using v1.6.0 of the scriptaculous libraries (including latest prototype library) in one of my existing apps that uses the 1.5.1 version, and found that IE 6 was very unstable. Actions get slower and slower over time until the page is basically unusable. This continues until the browser window closes - a page refresh does not solve the problem. I can''t provide the exact code
2006 May 09
5
anyone used the new firefox leak monitor?
One of the Mozilla developer released a new extension to detect JS memory leaks: https://addons.mozilla.org/firefox/2490/ If it''s accurate, it might be bad news for Prototype. I have some code using prototype 1.4 with no leaks, but other code with 1.5 leaks on every single bindAsEventListener call, and a bunch of other places. Not sure if it''s just me; I may just be
2006 Jun 24
10
Looking for Javascript IDE
Hi everyone! I am looking for a good Javascript IDE. Complete code-completion, should understand object oriented models and anonymous functions. Any suggestions? PS: Im on windows. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs