search for: tsailipu

Displaying 9 results from an estimated 9 matches for "tsailipu".

2006 Aug 08
4
New Release
Folks- I just pushed out a new release last night. THis is a bug fix release as well as some new features that have come up that people need. I made the MiddleMan class include Singleton so it is now a true singleton. What this means is that the autostart stuff now works correctly because you can always get the same MiddleMan instance from anywhere within the drb server including your
2006 Apr 12
5
Rails talking to MySql (cygwin on Windows XP)
Hello fellow RoR users, I am a newbie and I thought RoR is so easy to set up and that I would be saving so much time -- but I am still waiting to save time because I simply couldn''t get Ruby/Rails to talk to MySQL (5.0.18) at all. Here are the steps that I have examined: 1) I look at dabatbase.yml and put in the right information to talk to the database I have set up (the
2006 Aug 06
3
Bug or feature: WEBrick threading (vs script/console thread)
I don''t know whether this is a bug or feature, and I don''t know whether this belongs to Gmailer (http://rubyforge.org/projects/gmailutils) in specific or Rails/Ruby in general. I have an instance method in an ActiveRecord model, that upon a web request using WEBrick, spawns off a thread, in which it invokes Gmailer to perform some processing. What fails is that simply
2006 Aug 10
2
Software caused connection abort
Hi Zed or anyone that is also looking at Mongrel, Just want to report something that, although doesn''t crash mongrel, is rather annoying. I am running the latest Mongrel 0.3.13.3 - ruby version on cygwin (yeah, poor me). When I start mongrel_rails with ActiveRecord::Base.allow_concurrency = true in environment.rb, I see a lot of "Error sending file
2007 Mar 12
7
Capistrano Hanging on Deployment
Hello ~ I am using the Capistrano recipe outlined in this post to restart my backgroundrb server: http://rubyforge.org/pipermail/backgroundrb-devel/2007-February/000718.html My Version: ~~~~~~~~~~~~ task :before_restart, :roles => :app do restart_backgroundrb end task :start_backgroundrb, :roles => :app do sudo "nohup
2006 Aug 08
2
"include DRbUndumped" error
Hi, I am getting my hands on trying the cool BackgrounDrb plugin. Following various discussions and suggestsion, I included "include DRbUndumped" in my ActiveRecord model. However, the following exception occurs after I tried this and hit the page that uses this model. Does anyone know why this is so? Is it possible that an object cannot be DRbUndumped (that would mean, we
2006 Jul 12
1
routing: controllers ''user'' and ''user/blogs'' not possible?
Hi, I have been searching for discussions on this issue to see whether this is a bug or feature in Rails'' routing mechanism. Say I have a UserController corresponding to URL pattern /user, and now I want to have a separate controller under user called blogs, using the controller module feature, User::BlogsController, corresponding to URL pattern /user/blogs. Such design looks
2006 Aug 09
0
Worker and ActiveRecord
Ezra or anyone experienced that may have the insight: When I first fetch an ActiveRecord model inside the Worker and invoke a method in the model, which uses logger, why is it that the logger is not defined? This throws me off a bit as it seems that the code space, e.g. Worker, would know about the Rails context? Or this is not the case? I notice that if the model is already fetched by the
2006 Apr 22
0
Is it possible to have one class containing tw
Hello fellow Rail-builders, Is it possible to declare one class that includes two polymorphic fields as such: class Mark < ActiveRecord::Base # attribute: value, :string belongs_to :markable, polymorphic => true end class Property < ActiveRecord::Base has_one :name, :as => :markable has_one :value, :as => :markable end ? Based on what I know of the underlying