search for: longdo

Displaying 20 results from an estimated 33 matches for "longdo".

2006 Feb 24
5
Sanity Check
Maaaaaaaaaaaaajor sanity check needed. I wrote a simple little plugin, and it wouldn''t load. I put some comments in it''s init.rb, and it didn''t even spit those out. So, I dug into the initializer.rb (/vendor/rails/railties/lib/initializer.rb) to see wtf is going on, and found the problem... but... can''t explain it. Here is the code in question:
2006 Feb 08
2
Adding routes via a plugin...
...ute dynamically, Rails might call the reload method after my plugin is loaded and my route woud go away anyway. Should I just pursue a rake task as part of the install to add the route into the routes.rb file, or can what I want to do be accomplished with Rails 1.0? Thanks, -Steve http://www.stevelongdo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060208/0be0759b/attachment.html
2006 Jan 20
4
REST API''s and querying a graph of objects
Hey all, I am wondering if anyone has given thought to using REST / XPath as querying mechanism. That way you could have a URL that actually maps to a collection of records (objects, really) that meet a certain criteria and that are sorted a certain way. Mike Pence
2006 Aug 16
6
error with edge rails
I''ve started an app with rails 1.1.6 then ran freeze_edge. My app will not run with rails in the vendor folder. Have I forgot to do something? I"ve been without the internet for the last two months. Has something changed?
2006 Aug 08
5
RubyGems runtime memory use in Rails apps...
...figure out why this would be necessary. I haven''t had any response from Jim or Chad from RubyGems about it so I thought I would throw it open to the list to see if anyone could educate me or share thier experiences with this. There is a more detailed write up on my blog ( http://www.stevelongdo.com/articles/2006/08/08/rubygems-dependency-management-and-memory-use). -- Thanks, -Steve http://www.stevelongdo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060808/51551e0a/attachment-0001.html
2006 Apr 27
14
cleanWhitespace and parentNode
Hey cats, I seem to have ran into a problem in IE trying to use parentNode with the cleanWhitespace method. doing something like: var div = $(''mydiv''); Element.cleanWhitespace(div); works really great, but try doing: var div = $(''mydiv''); Element.cleanWhitespace(div.parentNode); or var div = $(''mydiv''); div = div.parentNode;
2006 Mar 15
9
Rails 1.1 is coming!
"Rails 1.1 is coming" - Feb 26, 2006 post in rails-core * http://www.ruby-forum.com/topic/55991 Final Drive Candidates (highlighted for review by core members) * http://dev.rubyonrails.org/report/19 Potential Rails 1.1 Blockers * http://dev.rubyonrails.org/report/10 Did you know you can run many different versions of Rails on the same physical server? This means you can test
2006 Apr 28
19
Remember James McGovern?
Remember James McGovern and his articles about Rails and enterprise? Well... Check this one out where he "puts his money where his mouth is" http://duckdown.blogspot.com/2006/04/ruby-community-proved-mcgovern-wrong.html -- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
2006 Jun 08
2
XML/SWF Charts howto
Hi all, I have written-up a small blog entry on how to get the XML/SWF Chart library to work with Ruby on Rails. Class and controller code is provided. Perhaps somebody with a bit more time could create a plugin out if it Raf
2006 Mar 28
2
Typo 2.6.0 broken with Rails 1.1
Updated today, got Typo 2.6.0 broken with Rails 1.1 (Ruby 1.8.4) -- WEBrick does not start. Is there any workaround except "svn co" with Typo trunk? -- Yaroslav Markin yaroslav at markin dot net
2006 Feb 26
3
Fast inserts?
There are cases when I have to create the same record 100 times. Is there a faster way than: 100.times{Obj.create(@params[:obj])} ? Bogdan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060226/75d1e099/attachment.html
2007 Feb 05
4
rubgems in user directory - HELP!
I''m trying to install ruby on rails to a host server that I don''t have root access to. The server already has ruby. I''ve followed the info on these two pages for installing rubygems in a non-root user directory: http://rubygems.org/read/chapter/3 http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories rubygems appears to be installed correctly but when
2006 Apr 28
0
RE: Rails Digest, Vol 19, Issue 784
...request@lists.rubyonrails.org You can reach the person managing the list at rails-owner@lists.rubyonrails.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Rails digest..." Today''s Topics: 1. Re: Remember James McGovern? (Steve Longdo) 2. Re: Remember James McGovern? (Giles Bowkett) 3. RE: please explain web services (Rodrigo Dominguez) 4. Re: Sharing RJS Templates (Ron Miles) 5. Re: Remember James McGovern? (Kenneth Lee) 6. Have to restart Webrick when changing a view template/layout (Wes Hatchett) 7. Re...
2006 Aug 18
11
#<Errno::EMFILE: Too many open files
My application runs a backgrond process and after running for a while I get this error in my logs: #<Errno::EMFILE: Too many open files Lasty, the ONLY code I have that does anything with files is: File.open(image_path, "wb") do |file| file.puts file_content end Any idea what this means? -- Posted via http://www.ruby-forum.com/.
2006 Feb 28
5
Session Sweeping
Hi, Anyone got some slick ideas on how to sweep an AR session store? I have a few ideas how I can do it, just want to see if there is an elegant solution that someone is already using. Bob Silva http://www.railtie.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 28
5
Funky character display in rails / mysql
I''m getting complaints from one of my customers that characters in their text are getting mangled. This happens when they paste data into my textboxes in rails from MS word in particluar. Quotes are turning into question marks, etc. Anyone have a fix / workaround for this? -- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML
2006 May 09
9
Working around the year 2038 bug in Ruby''s Time class?
I would have never imagined that I''d be bitten by the Y2038 bug someday... but it just happened and, trust me, it hurts! I have to deal with a database containing datetime fields with dates up to 2050 and more. ActiveRecord raises an exception because Ruby''s Time class implementation. Besides running Ruby on a 64-bit platform, what can be done to avoid that? Does a
2006 Apr 05
6
Help with new EventSelectors in prototype
Hello, I can''t seem get to work the newly inctroduced EventSelectors of protoype. I downloaded the latest release via SVN. And included both prototype and scriptaculous. This is a short extract of my test: <body> <div id="footer">This is a footer</div> <script type="text/javascript"> var Rules = { ''#footer:loaded'':
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
I have been trying to write a selector function for Autocompleter.Local that will show a predefined Array and will scroll automatically to the first match. I have had success with with getting my list to populate and show all of the choices, however I cannot get it to scroll to the first match. Since I build the JS Array I can know exactly how many items are in the list going into my selector,
2006 May 19
5
more fcgi problems
Finally got fcgi installed with apache. Now whe I click on "About your application''s environment" on the Rails Welcome page, it simply prints out the dispatch.fcgi script as shown below. I would appreciate any help I can get on this. I can provide other infomation if necessary. #!/usr/local/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled #