Displaying 20 results from an estimated 2000 matches similar to: "error with edge rails"
2006 Aug 08
5
RubyGems runtime memory use in Rails apps...
This an open plea for someone with knowledge of RubyGems to explain why
RubyGems stays in memory (over 10MB) after a Rails application is loaded. I
am unable to 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.
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 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 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 Nov 04
2
adding a method to an ActiveRecord Object
I''ve already pulled my object from the database. Now I want to add a
method. What I''m doing is adding the username to the activerecord object so
I''ll have the name and user_id. How can I do this. The code below fails in
the view. It appears it''s overwriting the rest of my object
def self.find_with_author(id)
@article = Article.find(id)
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 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 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 Mar 27
7
rjs template ? (how to check for existence of a dom element?
In my rjs template I''m using the following line.
page.visual_effect :slideUp, ''comment_error_details'', :duration => 0.5
It works fine if I have created the div with the
id="comment_error_details",
but if I haven''t created the error yet then my whole rjs template fails.
How can I check to see if an element has been created? I could then put
2007 Jul 09
2
limiting processor usage
I have a very intensive background process that keeps taking up loads of the
cpu. If I have 2 of these going at once, I can''t even ssh to the box much
less get a page to load. Is there something I can do to limit this. I dont
mind if the process takes longer to run, I just dont want to freeze my box
every time it runs. Thanks for any advice!
Charlie
-------------- next part
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...
I have a plugin that I am working on that will as part of its distribution
contain a controller. I would like to be able to add a route for it in the
plugin''s init.rb so that when the plugin is loaded, the route will
automatically be registered without having to force the user to edit
routes.rb or even make a rake task to do it for them.
I saw the following code in one of the SVN
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 Mar 28
5
Your RoR 1.1 Adoption Prediction?
What is the likelyhood that major inexpensive webhosts like godaddy,
bluehost, etc. will upgrade to RoR 1.1? Is this going to be like PHP 5
where it has to percolate for a year or more before it becomes widly
available? Your thoughts?
Along the same lines... is it possible to adopt some of the new improved
Ajax / javascript capabilities without actually upgrading the ruby
installation?
2006 Aug 19
22
Wazzup with the rubyonrails-talk Google Group?
I just got a Google Groups notification that I had been
subscribed to http://groups.google.com/group/rubyonrails-talk.
Looking at the page, it appears that about 4300 folks have
been subscribed. However, I saw nothing about this on
rails@lists.rubyonrails.org. Wazzup?
-r
--
http://www.cfcl.com/rdm Rich Morin
http://www.cfcl.com/rdm/resume rdm@cfcl.com
2006 Jul 20
6
Ruby on Rails & FastCGI 500 Error
I''m getting an error 500 and I''m at my wits end as to what could be
causing it. I''m sure the path to the ruby executable is correct so what
else could be causing it?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 27
5
Localization: word wrap in tables?
I am a Rails noob, working on bringing a legacy db system into the 21st
century. I want to localize the UI for two languages (EN/JA). Since I
am already using the salted user system, I have been playing around with
T. Fuchs'' localization module. Nice and simple, already up and working.
But here''s the problem: Japanese text is wrapping weirdly in table
cells. I could set
2005 Dec 16
2
Edge Rails Instructions out of date?
hello all,
I currently have Rails 1.0 installed, and was hoping to get the latest
edge rails. Following the directions found at:
http://wiki.rubyonrails.com/rails/pages/EdgeRails
I ran the following command:
rake freeze_edge
The command ran without a problem. When I went to update my
application, however, by running the following command:
ruby
2006 Jan 26
5
rake update_javascripts on edge has no effect
I moved to the edge yesterday and ran rake update_javascripts to get the
latest prototype stuff into my public directory. To my surprise, the
old files were still there afterward.
I just took a peek at javascripts.rake in
vendor/rails/railties/lib/tasks. The update_javascripts task is copying
.js files from Dir[RAILTIES_PATH + ''/html/javascripts/*.js''] My
railties
2006 May 26
11
Weird Caching Issue
Hey all,
Here''s the issue... I''m not entirely sure it''s even a Cache-related issue,
but here it goes:
I''ve deployed a Rails app onto a subdomain of my clients site... The server
is running Apache2, and I''m proxying through to Lighttpd. The issue I''m
having is that I''m able to add content to the site (data exists in the db),
but