Displaying 20 results from an estimated 10000 matches similar to: "2 quick doc patches looking for +1s or commits"
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
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 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 Oct 24
0
2 more quick JSON-related patches
Just some quick cleanup and documentation.
Remove obsolete ActiveSupport::JSON::Variable - http://dev.rubyonrails.org/ticket/9969
Add documentation for Hash#to_json and Enumerable#to_json -
http://dev.rubyonrails.org/ticket/9970
Please review :) Thanks!
Cheers,
Chu Yeow
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2007 Oct 15
0
Some JSON doc patches
In case Rails 2.0 gets released without these bits of documentation
regarding the recent JSON changes, I''d like to highlight some
docfixes: http://dev.rubyonrails.org/ticket/9833 and
http://dev.rubyonrails.org/ticket/9814
Could a committer could take a quick look?
Thanks!
Cheers,
Chu Yeow
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
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?
2008 Jan 03
1
Trac not for general use?
Hi devs,
I was trying to open a new ticket with a minor doc patch at the
BackgroundDrb Trac (http://backgroundrb.devjavu.com/) and it seems
like only admins have permission to do so. Is this intended?
I read in the readme that patches should be mailed to this list, but I
much prefer to use Trac since there''s already one set up. Any reason
Trac is not open to registered Devjavu users?
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 Dec 16
0
Specifying asset hosts via a proc (ActionController::Base.asset_host)
Hi all,
I just submitted a patch that would allow you to pass a proc to
ActionController::Base.asset_host rather than just using a %d
wildcard (e.g. assets%d.example.com). Basically this frees you from
the hard-coded assumption that you have 4 hosts numbered 0-3 and also
allows you to do smarter things depending on the asset (e.g. images
from a particular domain, stylesheets from another). The
2007 Dec 28
0
Mocha 0.5.6 breaks ActionController test
Hi guys,
Could a core committer review and apply http://dev.rubyonrails.org/ticket/10602?
This would get rid of a failing test with the latest version of mocha
(0.5.6).
Thanks much!
Cheers,
Chu Yeow
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send
2007 Oct 02
0
More JSON and XML feature parity for AR and ActiveSupport (patch review)
I''m really glad the JSON changes got in, many thanks to all involved,
committers and contributors alike :).
But there''s still one feature that''s missing to achieve feature parity
between the JSON and XML encoding/conversion. And that is the abililty
to say in your controller:
@authors = Author.find(:all)
render :json => @authors.to_json(:only => :name)
2011 Feb 28
0
Patch for serious nil response bug when Action caching responses that are not cacheable
Hi guys,
I''ve fixed a pretty annoying bug in Action caching that is detailed
here:
https://rails.lighthouseapp.com/projects/8994/tickets/6480-action-cache-filter-code-incorrectly-renders-nil-response-body-if-response-is-non-cacheable
Would appreciate testers or a direct commit if it checks out :)
Cheers,
Chu Yeow
--
You received this message because you are subscribed to the Google
2008 Jan 02
0
Re: RubyOnRails build 8525 failed
Fix for the bad (failing) test here: http://dev.rubyonrails.org/ticket/10664
On Jan 2, 5:33 pm, alexey.verkhov...@gmail.com wrote:
> The build failed.
>
> CHANGES
> -------
> Revision 8522 committed by bitsweat on 2008-01-02 09:03:56
> db:sessions:clear task uses session_table_name method. Closes #10631 [Cheah Chu Yeow]
>
> M /trunk/railties/lib/tasks/databases.rake
>
2018 Feb 23
0
MediaTek is looking for compiler intern
The MediaTek DSP compiler team in Woburn, MA seeks a talented PhD/MS/BS candidate for an internship. You'll work closely with our best engineers developing compilers and programming tools for multi-core vector DSPs. We're particularly interested in parallel programming paradigms, loop scheduling, vectorization, superoptimization, machine learning, and the relationship between compiler and
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
2006 Feb 14
0
Problem cooperating with Windows and AD
Hi,
I'm having a problem getting my Windows machines to access shares in
Samba. When they browse to the Samba box it sometimes gives them an
error saying that they don't have permission or that the server is
unavailable. However this doesn't always happen and other times it lists
the shares. When I try to access the shares it just prompts for the
username/password over and over.
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
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 Mar 06
3
Problem Accessing Samba Server from Windows
Hi,
I'm having a problem accessing my samba server from Windows. The problem
occurs every time I try to browse to it on either XP or 2003 Server. The
error message I get is: "\\Zeus is not accessible. You might not have
permission to use this network resource. Contact the administrator of
this server to find out if you have access permissions. The account is
not authorized to log in
2006 Jan 10
0
Looking for Rail Developer to speak at a college
Hello everyone,
I wonder if there is anyone who live around Alexandria, Virginia, US who
would be interested in coming to my college and give a short speech /
introduction to students about Ruby on Rails. It does not have to be formal
but you can just show them why Rails would be a much better choice for
projects instead of ASP and J2EE they are teaching here.
It would be even better if you are