Displaying 20 results from an estimated 1000 matches similar to: "REST API''s and querying a graph of objects"
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 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 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 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 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
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:
2005 Dec 15
2
Rails Tagging Generator?
Hey all! Just finished my first Rails app on 1.0 day and even got paid
for it! Great stuff and much thanks to the many generous souls in IRC,
especially ezmobious, who helped me through.
For my second Rails app, I want to use tagging. I am wondering if
there is a Tagging Generator or some other existing implementation I
can borrow from?
Best,
Mike Pence
Boca Raton, FL
2006 Oct 02
3
RSpec 0.6.4 released
We''ve released RSpec 0.6.4. Check it out! Check it out!
Release info:
http://rubyforge.org/frs/shownotes.php?release_id=7178
General info:
http://rspec.rubyforge.org/
Questions? Right here!
Enjoy,
David
2006 Jan 18
6
Ruby and Flash?
Hi there,
I have an idea for a game I want to build, but it requires Flash as the presentation layer (I''d want to do the back end in Ruby running on Rails.) I have not been able to find any info on the integration of the two, and someone suggested asking here. Any info would be appreciated. Any links to examples would be great too.
Thanks - please make sure you respond to me directly
2005 Dec 29
7
Laszlo on Rails kicking off
The Laszlo on Rails effort, bringing the rich web interface of
OpenLaszlo (http://openlaszlo.org) to the simplicity of Rails
(http://www.rubyonrails.com) will be kicking off next week.
We have a list going at
http://groups.google.com/group/laszlo-on-rails/ -- 88 people so far
and we haven''t even begun! -- but if you really want to be close to
the action, email me with your firstname,
2004 Jan 09
2
Smb signing - how can I check?
Howdy,
Does anyone know how to check the samba setting of "smb signing"? There is
a data write error that can happen with the signing, and I'd like to check
my samba servers.
See
http://www.eweek.com/article2/0,4149,1415221,00.asp
and
http://www.tangent-systems.com/support/delayedwrite.html
Alan Pence
System Administrator
"The smart ones ask when they don't know. And,
2006 Nov 01
1
Referencing a plugin in a spec
I am writing some specs that use ActiveMerchant to talk to a cc provider.
When I try to "include ActiveMerchant::Billing" in my spec, it tells
me it can''t find the plugin:
./activesupport/lib/active_support/dependencies.rb:123:in
`const_missing'': uninitialized constant ActiveMerchant (NameError)
Do I need to explicity require the main plugin file?
Thanks,
Mike Pence
2006 Jul 25
1
Blank map?
Hey all,
I''m a little frustrated here. The controls for the Google Map show up,
but the map itself seems to either never appear or to briefly flicker
onto screen, then to disappear.
My controller is simply this:
@map = GMap.new("map_div")
@map.control_init(:large_map => true, :map_type => true)
@map.center_zoom_init([0, 0], 6)
and my view is this:
2006 Jan 19
1
Relationships, relationships, relationships!
If I had my very own sweaty, wind-up Ballmer
(http://www.ntk.net/ballmer/mirrors.html warning: mind-scarring
video), that is what he would be saying:
"Relationships, relationships, relationships!!"
My unscientific polling of the traffic in #rubyonrails and here is
that, second to deployment issues, this is the bigges FAQ for Rails:
how to do relationship x in ActiveRecord.
There seems