Dear list,
This weeks RCW has a slightly different format than before. After all,
since what we want is less bloat, this RCW is less verbose. Please do
let me know what you think off-list.
*Interesting stuff on the Rails Timeline*
_Fixed and commited to trunk:_
An issue with not null columns in SQLite3 migrations(<a
href="http://dev.rubyonrails.org/ticket/5215">#4419</a>) by
Greg
Lappen''s patch <a
href="http://dev.rubyonrails.org/ticket/5215">5215</a>
_Cool Enhancements (not commited yet)_
An enhancement to Marcel Molina Jr.''s original <a
href="http://dev.rubyonrails.org/changeset/3118">Symbol#to_proc</a>
is
further enhanced by by <a
href="http://dev.rubyonrails.org/ticket/5295">Nobuhiro
Imai</a>.
Symbol#to_proc does:
<pre>
{1 => "one", 2 => "two", 3 =>
"three"}.sort_by(&:first).map(&:last)
#=> ["one", "two", "three"]
</pre>
(Earlier <a
href="http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/ToProc.rdoc">PragDave</a>
called this "... an incredibly elegant use of coercion and of
closures")
_New Features in trunk (committed)_
David checked in <a
href="http://dev.rubyonrails.org/changeset/4440">uninstall.rb</a>
that
makes it possible to uninstall plugins.
We''ve spoken about it before in RCW but Hampton''s solution to
wrap
your conditional bind variables in a hashes is committed by DHH. So
now, no more of this:
Topic.find(1, :conditions => [:author_name = ? and :title = ?,
@author.name, ''AWWR''])
but simply
Topic.find(1, :conditions => { :author_name => "David", :title
=> "AWWR" }
will do just fine. That''s so much better on my eyes, thanks again
Hampton.
Also Jamis makes sure Named Routes will never be relative to some
containing module ever again:
map.connect "/connection/connection", :controller =>
"connection/connection" # => /connection/connection
(btw you are not seeing double)
*Discussion/Debates*
Blair starts a <a
href="http://www.ruby-forum.com/topic/68209#new">discussion></a>
about
granting partial commit access to trunk.
The Continuous Integration discussing rages <a
href="http://www.ruby-forum.com/topic/67869#new">on</a>.
Julian <a
href="http://www.ruby-forum.com/topic/68172#new">restarts</a>
a discussion about a url_for in a mailer view.
Also there was an interesting <a
href="http://www.ruby-forum.com/topic/68613#new">thread</a>
leading up
to a good tip on reloadable modules.
But the longest thread is on "<a
href="http://www.ruby-forum.com/topic/67958#new">Too.Many.Scriptaculous.Tickets</a>".
The title says it all. A spin off discussion led by Kevin Clark about
submitting enhancements in general is <a
href="http://www.ruby-forum.com/topic/67958#new">here</a>.
*RSS and Feedback*
RSS feed : <a
href="http://www.pinupgeek.com/articles/category/rails-core-weekly-news">here</a>
Feedback : rramdas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Credits: thanks to <a
href="http://blog.caboo.se">#caboose</a>for reviewing !
--
Rodney
http://www.pinupgeek.com
http://www.dutchrailers.org
Hi Rodney, Personally, I prefer the more verbose format. Like it quite a lot, in fact. Best regards, Bill ----- Original Message ----- From: "Rodney Ramdas" <rramdas@gmail.com> To: <rails-core@lists.rubyonrails.org> Cc: <rails@lists.rubyonrails.org> Sent: Sunday, June 11, 2006 5:20 PM Subject: [Rails] [SUMMARY] Rails Core Weekly June 5 - June 11> Dear list, > > > This weeks RCW has a slightly different format than before. After all, > since what we want is less bloat, this RCW is less verbose. Please do > let me know what you think off-list. > > *Interesting stuff on the Rails Timeline* > > _Fixed and commited to trunk:_ > > An issue with not null columns in SQLite3 migrations(<a > href="http://dev.rubyonrails.org/ticket/5215">#4419</a>) by Greg > Lappen''s patch <a > href="http://dev.rubyonrails.org/ticket/5215">5215</a> > > _Cool Enhancements (not commited yet)_ > > An enhancement to Marcel Molina Jr.''s original <a > href="http://dev.rubyonrails.org/changeset/3118">Symbol#to_proc</a> is > further enhanced by by <a > href="http://dev.rubyonrails.org/ticket/5295">Nobuhiro Imai</a>. > Symbol#to_proc does: > > <pre> > {1 => "one", 2 => "two", 3 => "three"}.sort_by(&:first).map(&:last) > #=> ["one", "two", "three"] > </pre> > > (Earlier <a > href="http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/ToProc.rdoc">PragDave</a> > called this "... an incredibly elegant use of coercion and of > closures") > > _New Features in trunk (committed)_ > > David checked in <a > href="http://dev.rubyonrails.org/changeset/4440">uninstall.rb</a> that > makes it possible to uninstall plugins. > > We''ve spoken about it before in RCW but Hampton''s solution to wrap > your conditional bind variables in a hashes is committed by DHH. So > now, no more of this: > > Topic.find(1, :conditions => [:author_name = ? and :title = ?, > @author.name, ''AWWR'']) > > but simply > > Topic.find(1, :conditions => { :author_name => "David", :title => "AWWR" } > > will do just fine. That''s so much better on my eyes, thanks again Hampton. > > Also Jamis makes sure Named Routes will never be relative to some > containing module ever again: > > map.connect "/connection/connection", :controller => > "connection/connection" # => /connection/connection > > (btw you are not seeing double) > > *Discussion/Debates* > > Blair starts a <a > href="http://www.ruby-forum.com/topic/68209#new">discussion></a> about > granting partial commit access to trunk. > The Continuous Integration discussing rages <a > href="http://www.ruby-forum.com/topic/67869#new">on</a>. > Julian <a href="http://www.ruby-forum.com/topic/68172#new">restarts</a> > a discussion about a url_for in a mailer view. > Also there was an interesting <a > href="http://www.ruby-forum.com/topic/68613#new">thread</a> leading up > to a good tip on reloadable modules. > But the longest thread is on "<a > href="http://www.ruby-forum.com/topic/67958#new">Too.Many.Scriptaculous.Tickets</a>". > The title says it all. A spin off discussion led by Kevin Clark about > submitting enhancements in general is <a > href="http://www.ruby-forum.com/topic/67958#new">here</a>. > > > *RSS and Feedback* > > RSS feed : <a > href="http://www.pinupgeek.com/articles/category/rails-core-weekly-news">here</a> > Feedback : rramdas@gmail.com > Credits: thanks to <a href="http://blog.caboo.se">#caboose</a>for > reviewing ! > -- > Rodney > http://www.pinupgeek.com > http://www.dutchrailers.org > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Surendra Singhi
2006-Jun-12 05:40 UTC
[Rails] Re: OFFLIST Re: Rails Core Weekly June 5 - June 11
"Bill Walton" <bill.walton@charter.net> writes:> Hi Rodney, > > Personally, I prefer the more verbose format. Like it quite a lot, in fact. >+1 Besides, I would suggest sticking to text-only emails. Regards. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "All animals are equal, but some animals are more equal than others." | -- Orwell, Animal Farm, 1945 `----
Rodney Ramdas
2006-Jun-12 07:03 UTC
[Rails] Re: OFFLIST Re: Rails Core Weekly June 5 - June 11
Surendra, argh, yes, the formatting is not very nice, I actually intended to send plaintext as before. I apologize,will fix /r/r On 6/12/06, Surendra Singhi <efuzzyone@netscape.net> wrote:> "Bill Walton" <bill.walton@charter.net> writes: > > > Hi Rodney, > > > > Personally, I prefer the more verbose format. Like it quite a lot, in fact. > > > +1 > > Besides, I would suggest sticking to text-only emails. > > Regards. > -- > Surendra Singhi > http://ssinghi.kreeti.com, http://www.kreeti.com > Read my blog at: http://cuttingtheredtape.blogspot.com/ > ,---- > | "All animals are equal, but some animals are more equal than others." > | -- Orwell, Animal Farm, 1945 > `---- > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Rodney http://www.pinupgeek.com http://www.dutchrailers.org