Re: Getting rid of the route maker
On Jun 25, 2008, at 3:18 PM, zimbatm wrote: One contra argument is that markaby is pretty old. Last time I checked the trunk it was in a weird state. If I remember well, it has been made Camping incompatible in favor of some Rails (!) goodness. Yeah, I removed Markaby from one of our Rails projects because it seemed to be leaking memory like crazy when I updated Rails. I don't have any empirical evidence unfortunately, but I think Markaby needs a refresh in order to work properly with either Camping 1.0 or Rails 1.0. Manfred ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list
Re: Getting rid of the route maker
R isn't gone! Feel free to use both (and if you use R, it would not add more routes: module Camping::Controllers class Index;end class Advanced R '/(some regex';end # /advanced will NOT route to Advanced end On Tue, Jun 24, 2008 at 3:09 PM, Julik Tarkhanov [EMAIL PROTECTED] wrote: Does that mean we are losing the possinility for multiple routes per controller and such? Or should I return something magic from self.urls to make controllers function the pre-2.0 way? On Jun 24, 2008, at 1:05 PM, Magnus Holm wrote: Alright! What about releasing 2.0? I've closed a lot of tickets on the tracker, and I don't think we need more for a 2.0. There is no point of waiting anymore, IMO! ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list -- Magnus Holm ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list
Re: Getting rid of the route maker
Then I'm +1. Can't wait to see my tests fail with 2.0 (I will obviously have to update Mosquito for the new version, although if we still have .run it should work unmodified). On Jun 24, 2008, at 3:14 PM, Magnus Holm wrote: R isn't gone! Feel free to use both (and if you use R, it would not add more routes: module Camping::Controllers class Index;end class Advanced R '/(some regex';end # /advanced will NOT route to Advanced end On Tue, Jun 24, 2008 at 3:09 PM, Julik Tarkhanov [EMAIL PROTECTED] wrote: Does that mean we are losing the possinility for multiple routes per controller and such? Or should I return something magic from self.urls to make controllers function the pre-2.0 way? On Jun 24, 2008, at 1:05 PM, Magnus Holm wrote: Alright! What about releasing 2.0? I've closed a lot of tickets on the tracker, and I don't think we need more for a 2.0. There is no point of waiting anymore, IMO! ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list -- Magnus Holm ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list
Re: Getting rid of the route maker
Nice! You should also go through the documentation, it's pretty bad at the moment... On Tue, Jun 24, 2008 at 5:07 PM, _why [EMAIL PROTECTED] wrote: On Tue, Jun 24, 2008 at 01:05:54PM +0200, Magnus Holm wrote: Man, that's way better than removing 135 bytes! I *love* the implementation! I have always wanted to use Method#to_proc in Camping. Alright! What about releasing 2.0? I've closed a lot of tickets on the tracker, and I don't think we need more for a 2.0. There is no point of waiting anymore, IMO! I have two things left: I need to figure out if I want to merge zimbatm's Markaby patch. And I'd like to go through Rack a bit more myself and see if I can cut down the work we're doing. Hopefully today or tomorrow, though! _why ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list -- Magnus Holm ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list