search for: darwinweb

Displaying 11 results from an estimated 11 matches for "darwinweb".

Did you mean: darwine
2008 Feb 25
6
Review Request for Significant Performance Improvement in ActiveRecord
...roduction project that I''m now updating to Rails 2.0.2. The ticket: http://dev.rubyonrails.org/ticket/9560 This comes on the tail of: http://dev.rubyonrails.org/ticket/9497 Which I believed to be the superior improvement due to a very carefully considered thesis elaborated at: http://darwinweb.net/articles/66-optimizing_and_simplifying_limited_eager_loading_in_activerecord I''d appreciate if I could get some reviewers for this patch, since my project''s performance is simply not viable without this patch. Despite the weirdness of the actual diff, the change is mostly pig...
2007 Jul 06
4
JOINS clobbering ids or other fields.
...around. Is there some benefit to always using SELECT * that warrants using it as the default even when it opens the door for such dangerous and unexpected behavior? At the very least the documentation for :joins should say "always specify :select or else..." -- Gabe da Silveira http://darwinweb.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrail...
2007 Jun 25
0
Announcing Multisite Plugin for Rails 2.0
...This plugin does absolutely require edge Rails, but it''s also a very very clean design. If you need to do something similar on Rails 1.2.3, I have a patched version of Theme Support that I am also planning on writing up at some point. Anyway, the writeup and project link is here: http://darwinweb.net/article/Announcing_Multisite_Plugin_For_Rails -- Gabe da Silveira http://darwinweb.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to r...
2006 Sep 03
1
New Technique: Subsets of has_many Associations
...echnique. I''m also especially interested in documentation on prior uses of this technique. I googled pretty extensively, but its hard to separate this particular use from a lot of other issues people are talking about. I have written a complete writeup on the thought process at: http://darwinweb.net/article/Subsets_Of_Associations_In_Activerecord So far I''ve tested it for basic eager loading (even of both associations at the same time!) and it worked as expected. I also tested the << operator, and it works. If you add an :upcoming_event it doesn''t check the condi...
2007 Dec 23
5
prepend_view_path not working
...t effect the current request, but all future requests. Even this isn''t working as expected. Only way I''ve managed to get it to work is if I don''t ever clean it up. So I keep prepending over and over, making the path ridiculously long and redundant. I even installed the darwinweb.net multisite plugin. Same issues. Only way I could get it to work is if I removed the code that cleaned up after itself, so the path got out of control. Right now I''m running this with webrick locally on Leopard 10.5. Is this just a Leopard bug or am I maybe doing something wrong? He...
2007 Jul 06
0
Test XML Documents Using assert_select
...nk it should be pretty easy to apply. It won''t affect standard HTML output or even XHTML given IE''s inability understand the standard application/xhtml+xml, and even if HTML was served as HTML it would only raise warnings on invalid markup. Thoughts? -- Gabe da Silveira http://darwinweb.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrail...
2008 Jan 05
0
Patch Review #10712: Auto Complete Option
...the AutoCompleter updateElement option allowing the auto_complete plugin to customize the behavior of the auto completion. I required this to fix my app and it is deployed in production. Patch is dead simple and should be a quick sign off for anyone using the plugin. -- Gabe da Silveira http://darwinweb.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrail...
2007 Jul 06
2
Make #underscore reversible
Hello All, I''ve submitted a patch (http://dev.rubyonrails.org/ticket/8898) to enable #underscore to be reversible. I had trouble creating a class named "CRSContact", and it turns out that underscore and camelize are not reversible in cases where there are 3 or more capital letters. As there is a dependency between class name and file name I think it would be beneficial for
2007 Aug 15
5
Misc notes concerning view_paths
Hi all, I''ve been playing in the trunk with putting stuff in different dirs to keep files from a reusable framework separate from the app files. Here are a few considerations regarding the view_paths setting: config.view_path is used to set both action_controller.view_paths and action_mailer.template_root. We get some buggy/unexpected behavior here because
2007 Sep 25
2
Patch Review for selective joining of eager-loaded tables in pre-query
...her tests which have pretty wide coverage over this area of ActiveRecord. b) I didn''t see offhand a great way to verify the removal of the joins. Anyway, if anyone can do a quick review and hopefully garner some +1s I''d love to get this in before 2.0. -- Gabe da Silveira http://darwinweb.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrail...
2007 Oct 02
19
Per-Request View Paths
...o modify view_paths per-request is at least as important if not more so. I will try to find time to work on a better patch, but I want to make sure this gets into Rails 2.0 because we don''t want to support a broken interface later. How close are we to an RC? -- Gabe da Silveira http://darwinweb.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrail...