Displaying 20 results from an estimated 100000 matches similar to: "Communication between Rails Projects?"
2008 Jan 21
4
Rails app cannot connect to Ferret server
I have installet the Ferret gem v. 0.11.6 and the latest acts_as_ferret
plugin from
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
I''ve followed the instructions here
http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer to set up the
server, and put acts_as_ferret :remote => true on one of my models (Ad)
I can also start the ferret_server, but when
2007 Apr 18
1
stack level too deep for method missing when using drb
I set up ferret and it''s running fine normally. Now I want to hook up
the backgroundrb server. However whenever I try to do a search, I get
this error:
(druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1075:in
`method_missing''
(druby://localhost:9010)
./vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in
`find_id_by_contents''
(druby://localhost:9010)
2009 Mar 20
1
Ruby/Rails projects "market" site - anyone?
Hi guys,
I was wondering how do you look for clients for your Rails companies?
I know there are places like project4hire.com but these are more
suitable for individuals I think than companies.
I was supprised to find there is no such "project market" for Rails
projects out there - anyone interested in developing one? Do you think
it might be useful / got interest of both developers and
2008 Jul 05
4
one db - many rails projects -> many schema_migrations table
Hi all!
How can I change the name of the schema_migrations table? I have to do
this because I can only use one database but want to have several rails
projects.
I hope this is possible at all.
greets
flo schaf
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2011 Jul 26
0
connect to DRb server from rails controller ?
I haven''t done any DRb stuff in awhile, but I used to connect to a DRb
server from
a rails controller. I''ve never tried it in rails 3 and am wondering if
Rails 3 is stricter about something like this or why it hasn''t worked
thus far.
My server/client code and error are shown below:
SERVER:
require ''drb''
class ParserSvc
def initialize
end
2007 Aug 09
2
RoR and DRb
Hi,
I have a question regarding RoR and DRb. First of all, I tested with
simple client/server examples and everything worked as expected. I have
the following lines in my environment.rb:
DRb.start_service
$rem_obj = DRbObject.new(nil, "druby://#{rname}:9001")
Since rem_obj is a global variable, I can call it from any controller
and the invoked procedure is run on the server.
However,
2008 Jul 28
1
Re: switching between projects?
pepa007 wrote:
> Hi,
>
> sorry for newbie question:
>
> how do I switch between projects on command line?
>
> I know ''rails projectA'' creates projectA. but if I have another
> projectB in another folder, how do I make this one active?
>
> Thank you
By "active", I''m assuming you mean you want to see it in the web
browser. When
2007 Apr 01
2
strange behavior after switching to DRb server
After switching to the DRb server, I am experiencing strange behavior
when sorting on score. My app was working as expected before the switch.
Both before and after the switch, my app sorts properly on other
fields, such as date.
For sorting on score, I am using the following option
find_by_contents option:
:sort => Ferret::Search::SortField::SCORE
Before switching to DRb, this worked
2006 Nov 01
1
strange issue with backgroundrb behind apache/lighttpd
I''m getting strange data back from my worker whenever I run our rails
app with more than one dispatcher under lighttpd.
just to give some info on what the app does:
user submits data to rails app. rails app hands off data to worker,
which goes and does it''s thing, storing results in an array of
response objects (the array is an attribute of the worker). the
response object
2007 Jun 18
2
"No such file or directory - script" Error on Model.rebuild
Hi,
Having recently converted to using ferret_server on my staging site my
deployment is now failing due to the following error when attempting to
rebuild the indexes on my models:
from (irb):1>> Post.rebuild_index
Errno::ENOENT: No such file or directory - script
from (druby://127.2.0.1:9100)
/usr/local/lib/ruby/1.8/fileutils.rb:243:in `mkdir''
from (druby://127.2.0.1:9100)
2006 Dec 11
4
creating a cache in rails
I need to create a small hash of values that persists across requests in
Rails. I cannot store this information in the database or filesystem
and only want to do it in memory. I was looking for a simple solution
to implement this and read somewhere that memcache is pretty much
overkill. This app is only running on one server so putting in memory
should be just fine. I''m very new to
2008 Apr 15
4
Version Control (and gems)
1. Full version control of a web app would include the constellation
of gems actually used. I can do ''gem list'' and put that into a file
in version control but that could include unused gems. That is, it
could include gems use by other projects.
And putting the whole gem in version control seem like overkill since
the authors do that. But it might be safer.
Do we have a
2007 Jun 28
1
ThreadError from DRb server
Hi there,
I''ve just started using aaf for searching and it''s running well apart
from one error I received:
A ThreadError occurred in person#search:
current thread not owner
(druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in
`mon_check_owner''
(druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in
`mon_check_owner''
2007 Sep 03
11
MySQL has gone away
Hi,
in a production environment we are running into "MySQL server has gone
away" errors (see below) when we call rebuild_index in aaf. This happens
sporadically.
Any suggestions for what might be wrong or workarounds? I guess we try a
reconnect before we call rebuild_index?
Matthew
ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone
away: SELECT count(*) AS
2007 Mar 08
0
[JOB] Full Time Ruby on Rails Position in Phoenix, AZ
Description:
We are looking for a skilled Ruby on Rails/PHP developer that can join
our team and assist us in day-to-day projects as well as the development
and maintenance of our upcoming, top-secret web app! This is an
in-house, full-time, hourly position.
Required Skills:
- Ruby on Rails
- AJAX web browser client technologies, ie. Javascript, CSS, DOM+XHTML,
XML, CSS, JavaScript, Web Services.
2007 Jan 19
3
problems updating to 0.7.5.1
Hi all
I''ve upgraded the rails plugin from 0.7.5 to 0.7.5.1 (plugin/remove
rspec_on_rails followed by :
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_5_1/rspec_on_rails/vendor/plugins/rspec_on_rails
I''ve also updated the rspec gem and removed the older version. I''m running
rubygems 0.9.1 on a windows box
however, when I try to run a spec
2012 May 22
1
rails-brakeman.com, an online service to find security issues in your rails projects
Hi,
I just released rails-brakeman.com, it is an online service to find
security issues in your rails projects, it works based on Justin''s great
gem brakeman <https://github.com/presidentbeef/brakeman>.
Rails developers always write code fast, but sometimes they leave some
security issues in their rails project. Do you still remember mass
assignment issues from github? Using
2007 Apr 03
5
Inifinite loop problem with DRb server
Hi all,
We''re attempting to use Ferret with the DRb server at the moment, and
it doesn''t work, at all...
= Executive Summary
The DRb server process keeps on calling the remote index to the DRb
server process... Which means DRb is calling itself, and itself, and
itself, until Ruby kills the Thread with a SystemStackLevel error.
= The excruciating details...
# Mongrel is
2007 Oct 03
3
The ferret logs
Hi.
We''ve had some problems with ferret not being able to load our classes
(stack trace below for the curious).
I nailed it down to a deployment issue, where an old instance of ferret
drb was running. I don''t understand the details quite yet, but the
result was the the old ferret was never shutdown during redeployment,
and attempts were made to start up a new one.
Anywho,
2005 Feb 07
0
Trying to Seed Maybe Bug?
Hi, trying to get rubytorrent to act as a seeder.
I''m instantiation the RubyTorrent::Bittorrent with a pre-created
MetaInfo object...
bt = RubyTorrent::BitTorrent.new(dtorrent.metainfo)
bt.on_event(self, :tracker_connected) { |s, url| puts "[tracker]
connected to tracker #{url}" }
I will attack the test file (just some random strings in a file)
and the torrent that was