Displaying 20 results from an estimated 1000 matches similar to: "Trac not for general use?"
2008 Jan 09
6
[PATCH] x 2 - Fix for "null pointer exception" when ask_status is called before worker is run, and docfixes
Sorry for attaching patches in emails to the mailing list, but I''m still
unable to login to Devjavu for Backgroundrb (I''m able to login just fine for
Merb''s Devjavu and submitted a ticket successfully).
Anyway, I encountered a bug when trying to #ask_status of a worker before
it''s run (or rather, before its result_hash has been set to something). Not
sure why
2007 Oct 04
4
2 more JSON / XML feature parity patches before Rails 2.0
I''d really like to see just 2 more functional changes to the JSON
serialization/encoding before we get to Rails 2.0.
First, and I think this is really crucial because without it all the
efforts to output JSON from ActiveRecord objects would have been half
in vain, is to allow us to do this in controllers:
@authors = Author.find(:all)
render :json => @authors.to_json(:only =>
2007 Dec 07
9
Merb-style development exception pages for Mac OS X
I like the merb-style exception pages where there''re links to open the
files listed in the stack trace in TextMate and the source around each
line a lot so I stole the idea (and the code!) and made a patch for
Rails: http://dev.rubyonrails.org/ticket/10401
Here''s how it looks like in Merb: http://yehudakatz.com/wp-content/uploads/stacktrace.gif
What do you guys think?
2007 Sep 28
2
Rails shouldn't output invalid JSON by default
Please check out this ticket (which would explain almost everything):
http://dev.rubyonrails.org/ticket/8762
So basically, Rails to_json methods produces invalid JSON out of the
box as it doesn''t quote all hash keys. This is valid JSON:
{
"id": 6589,
"code": "SIN",
"name": "Singapore"
}
This is not (Rails'' JSON encoders
2007 Dec 07
2
[ActiveSupport] Patches needing review: re-organization of #to_query methods, preservation of XML/JSON content-type
Just a quick pointer to some ActiveSupport patches hoping for reviews:
Puts Array#to_query and Object#to_query in the right places in
ActiveSupport - http://dev.rubyonrails.org/ticket/10395
Preserve user-specified content type for XML and JSON rendering
(currently it''s overridden and set to Mime::XML/Mimi::JSON -
http://dev.rubyonrails.org/ticket/10388
Oh and a tiny patch for
2006 Dec 07
2
backgrounDRb problems with results and MiddleMan
Hi there,
I''ve been experimenting with implementing BackgroundDRb in my rails app but
am running into some problems.
The primary problem I''m getting is in cleaning up worker threads, or getting
any kind of response out of worker threads.
If try using the response function/hash in my Worker the worker will not
execute reporting that response is an unknown variable or function.
2009 Feb 04
1
How to hack a mongrel cluster to restart in an alternating manner?
Hello,
I''ve been trying (unsuccessfully) to hack my mongrel_cluster to re-ststart
in an alternating manner.
Specifically, this soluiton:
http://blog.carlmercier.com/2007/09/07/a-better-approach-to-restarting-a-mongrel-cluster/#content
Which means I an call to mongrel_rails cluster::restart to do this:
mongrel_rails start 8001
mongrel_rails stop 8001
mongrel_rails start 8002
2009 Feb 09
4
rails on ruby-1.8.7
Download page(http://rubyonrails.org/download) tells as follows
"We recommend Ruby 1.8.7 for use with Rails."
Which version of RoR is stable(or available) on ruby-1.8.7?
I want to use rails-2.1.2. but I dont know that is appropriate.
# Im going to run redMine 0.8.0 on Ubuntu 8.10.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed
2007 Nov 30
5
render_to_string in an after filter
I''m using render_to_string in an after_filter, which renders a partial
that is sent to a web service. Here''s the code:
class MyController < ApplicationController
after_filter :post_to_webservice
def show
# show logic
end
def post_to_webservice
stuff = render_to_string :partial => ''stuff''
webservice_post(stuff)
end
I get a DoubleRenderError in the
2007 Sep 28
6
Couple questions about backgroundrb
So, what''s the status of this project? I''m a little confused. The
documentation at http://backgroundrb.rubyforge.org seems out of date.
It refers to http://svn.devjavu.com/backgroundrb/tags/release-0.2.1,
which doesn''t work.
All I want is a way to easily set up tasks that should run
periodically. Some stuff should run every 10 seconds, some stuff once
a day, etc.
2008 Jan 02
3
Submitted a patch, got pluses, what now?
Hello Rails people,
I submitted a patch recently to get rid of an annoying exception raised when
an AR
object is created - http://dev.rubyonrails.org/ticket/10556 , had some
people review it,
got some pluses... What am I supposed to do now?
Can anybody advise or just review the patch and take care of the issue?
Thanks!
--
Best regards,
Yuri Leikind
2006 Oct 30
2
SVN requiring authentication
I can''t get to the code anymore. Devjavu''s svn is asking for a username
and password.
http://svn.devjavu.com/backgroundrb/
Authorization Required
This server could not verify that you are authorized to access the
document requested. Either you supplied the wrong credentials (e.g., bad
password), or your browser doesn''t understand how to supply the
credentials
2008 Apr 20
1
Picolena, a ferret+rails documents search engine
Hi everybody!
I am proud to present you a small project I have been working on for a
while:
Picolena, a documents search engine written in Rails.
( http://picolena.devjavu.com/ ).
It obviously uses Ferret for indexing and searching, and adds some plain
text extractors in order to index OOffice.org, pdf and MS Office
documents (and some others as well).
Everything is packed in a gem (gem install
2007 Nov 20
2
Anyone using to_xml and procs...
I''m looking for comments on http://dev.rubyonrails.org/ticket/10162
In my opinion, the current behaviour is a bug, and should be fixed.
If you have a use case where passing procs to the child associations
is actually useful, chime in.
Jonathan del Strother
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2007 Dec 13
1
Merb::RenderMixin#set_status refers to non-existent RESPONSE_CODES constant
#set_status
http://merb.devjavu.com/browser/trunk/lib/merb/mixins/render.rb#L270
refers to a non-existent constant. I tried, while creating #359, to
make things OK, but I failed. I started by using STATUS_CODES instead,
then used #[] instead of calling a method named STATUS_CODES, then I
found out that during the call to #inherited
2007 Feb 27
11
Mongrel upload progress not showing progress on production server
Hi all,
Tried out the mongrel upload progress plugin with Drb and it works
great on my OSX development box, but when putting it into production
(Ubuntu Dapper), uploads complete but the app isn''t returning any
values for upload progress, and uploads are not showing up in the
queue when running upload_client.rb. Before anyone asks, yes, I''m
running both the mongrel instances and
2006 Oct 30
11
BackgrounDRb 0.2.0 Release! Complete rewrite.
Hello Folks-
I am really happy to announce the release of BackgrounDRb 0.2.0 .
This is a complete rewrite and re-architecture of this codebase. I
want to
thank skaar for all of his hard work. I put out a call for help with
the new
architecture and skaar stepped up bigtime. I had already written
the new
scheduler and cron compatible syntax and moved to multi process
architecture. But he
2008 Apr 11
2
Can I do this, question
I have a bunch of real uses for BackgroundDrb, but I also a very simple
need to delay sending an email for about 5 seconds after a rails action
completes. Basically I need to leave time for the DB to commit and sync
to the slaves before the email can be sent
Is BackgroundDb the right tool for this job? Any other suggestions on
ways to implement this? (I have seen suggestions to create a
2007 Nov 14
7
BackgrounDRb version 1.0RC1 available now
Hi Folks,
BackgrounDRb is a Ruby job server and scheduler. Its main intent is to be
used with Ruby on Rails applications for offloading long-running tasks.
Since a Rails application blocks while serving a request it is best to
move long-running tasks off into a background process that is divorced
from http request/response cycle.
This new release of BackgrounDRb is also modular and can be used
2007 Apr 04
1
Password required for dejavu repo
Since this morning, the server at http://svn.devjavu.com/backgroundrb
is requiring authorized access.
Could you guys look into it?
Thanks,
Saimon
--
Saimon Moore
Freelance Web Developer
(Available for hire - For details visit http://saimonmoore.net)
Skype: saimonmoore
Yahoo IM: saimonmoore
Google IM: saimonmoore