search for: anzg6odk14w

Displaying 13 results from an estimated 13 matches for "anzg6odk14w".

2005 Jan 11
7
default error page
Help, please. I need redirection to a custom error page, instead of the default Rails messages (e.g. Unknown action). I use WebRick, no Apache, and i think i can''t use public/.htaccess (# General Apache options). Thanks. ___________________________________ Nuovo Yahoo! Messenger: E'' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora!
2006 May 19
10
Content Rotate, unwanted flashing on IE.
I just wrote a stupid little JS object to rotate DOM Elements (mainly images) using Prototype and Script.aculo.us as support. Everything seems to work well on IE and Firefox Linux but on FireFox Windows I am getting a slight flash prior to transition. I was wondering if a effects guru could take a quick look and see if anything jumps out. I can live with the flash for my current project but
2006 May 24
7
Using inline editor without requiring a URL
Hi, I was wondering if anyone has implemented the inplace editor without the need for the URL. I have tried this but run into a problem in that the ''saving...'' text in shown for ever and the label is no longer editable. Can I also confirm that my idea of the callback function is something that runs before the value is passed to the URL (if you were to use one). What might be
2006 Jun 03
1
gsub vs. replace
I was looking at the gsub method on the String.prototype object in Prototype. I was trying to determine the purpose of this method. It seems like it duplicates the functionality of the built-in replace() method. So: "red, blue, green".gsub(/, /, '' - ''); "red, blue, green".replace(/, /g, '' - ''); What is the difference between these lines?
2006 May 15
1
2 clone methods?
I was reviewing the prototype library (current SVN version) to try to understand the library better. I noticed there are two implementations of the "clone" method on the Position object. There is one before the implementation of the page method and one after. They both appear to be similar actions (copy the positioning from one element to another) although the second implementation
2006 May 11
2
Field and Form.Element design question
Quick design question. I am trying to get a better understanding of Prototype. While reading through the source I am stumped by form.js. There is a "Field" object and a "Form.Element". Both object seem to consists of a series of actions that making interacting with form fields easier. My question is why two objects? It seems that there should be one object that has this
2006 Jun 12
10
Cross Broswer Fire Event
Is there a standard way of programmatically firing an event on an element? I think this code works in IE but not FF: myElement.fireEvent(''onclick''); I really only care about IE and FF, but anything else is a bonus. I didn''t see anything in prototype/scriptaculous for this, but I might have missed it. Thanks. Joe Athman
2007 Jun 29
5
phpinfo for RoR?
Dear all, Is there something like phpinfo() for RoR? I have a dual install of ruby and would like to know which version I am actually using. Thanks in advance! Harm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 May 30
4
Limiting getElementsByClassName to specific nodes and entities
I''m currently using "The Ultimate getElementsByClassName" (http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/) instead of the Prototype version. This version seems to be faster since it lets you specify the starting node and the type of entity. For example: var widgets = getElementsByClassName(document, "ol", "tree"); Is
2005 Nov 13
0
Routing Fixnum
If I have the following route defined: map.connect ''/foo/bar/:baz'', :requirements => {:baz => /^\d+$/} then if someone asks for /foo/bar/3 I noticed that :baz == "3" instead of :baz == 3. I.E. it is a string not a number. (At least it does this in the functional testing of the routing). This seems reasonable because I have not told it to expect a number but
2005 Nov 05
3
Keeping the queries down...
I''m trying to ensure that I keep the number of queries down a bit. If I have two model (lets call them Foo and Bar). They have a many to many relationship. Now I want to get (and paginate) records from Bar that are related to a certain record in Foo. For example I want all records from Bar whose name starts with ''C'' and are related to record Foo whose name is
2006 Sep 27
0
MySQL and Default values
I got my first taste today of dealing with the default values in MySQL. It seems that Rails loads the default values for fields based on the database (seems reasonable, specify in one place and let if flow through). The problem is that if I say NOT NULL and do not specify a default value, MySQL inserts a default value anyway. See http://dev.mysql.com/doc/refman/5.0/en/data-type-defaults.html
2006 May 16
4
Positioning
I''m trying to understand the Position object. Specially the various offset methods. From looking at the code I think I may understand them but I wanted to run it by the group to make sure I had a clear understanding. realOffset - This returns the coordinates of the element as if none of the elements on the page are scrollable from the document edge. cumulativeOffset - This returns