<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Evgeniy Dolzhenko's blog on software related matters - Latest Comments</title><link>http://dolzhenko.disqus.com/</link><description></description><atom:link href="https://dolzhenko.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 24 Jun 2012 11:15:10 -0000</lastBuildDate><item><title>Re: Travel To The Core Rails 3 Methods Without Leaving IRB Prompt</title><link>http://dolzhenko.org/blog/?p=167#comment-566001072</link><description>&lt;p&gt;Beneficial hook really, I of which at all times, We'll replace this value snippet as a result.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Get Medical Records</dc:creator><pubDate>Sun, 24 Jun 2012 11:15:10 -0000</pubDate></item><item><title>Re: Travel To The Core Rails 3 Methods Without Leaving IRB Prompt</title><link>http://dolzhenko.org/blog/?p=167#comment-342208586</link><description>&lt;p&gt;Because our operations support companies around the world and can operate 24/7/365, scheduling flexibility makes it possible for students pursuing a wide range of majors to accommodate other jobs&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">electric hotel</dc:creator><pubDate>Sun, 23 Oct 2011 21:33:02 -0000</pubDate></item><item><title>Re: Rails Pro Tip: Invoke Command Line Commands From Rails Console</title><link>http://dolzhenko.org/blog/2010/07/rails-pro-tip-invoke-command-line-commands-from-rails-console/#comment-137573626</link><description>&lt;p&gt;Nice..!!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ErrorApp</dc:creator><pubDate>Mon, 31 Jan 2011 06:13:19 -0000</pubDate></item><item><title>Re: Travel To The Core Rails 3 Methods Without Leaving IRB Prompt</title><link>http://dolzhenko.org/blog/?p=167#comment-52856289</link><description>&lt;p&gt;Good catch indeed, I do that all the time, I'll update the code snippet accordingly&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evgeniy Dolzhenko</dc:creator><pubDate>Sat, 29 May 2010 01:40:49 -0000</pubDate></item><item><title>Re: Travel To The Core Rails 3 Methods Without Leaving IRB Prompt</title><link>http://dolzhenko.org/blog/?p=167#comment-52856001</link><description>&lt;p&gt;Haha, sadly - yes. One thing it relies on is Method#source_location method, another is Ripper parser and these are not available in 1.8&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evgeniy Dolzhenko</dc:creator><pubDate>Sat, 29 May 2010 01:39:20 -0000</pubDate></item><item><title>Re: Travel To The Core Rails 3 Methods Without Leaving IRB Prompt</title><link>http://dolzhenko.org/blog/?p=167#comment-52776714</link><description>&lt;p&gt;I love it -- Russian ingenuity at it's finest!  I haven't looked at the code, but tell me, does this library depend on Ruby 1.9.2 exclusively?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Sobol</dc:creator><pubDate>Fri, 28 May 2010 19:33:32 -0000</pubDate></item><item><title>Re: Travel To The Core Rails 3 Methods Without Leaving IRB Prompt</title><link>http://dolzhenko.org/blog/?p=167#comment-52668824</link><description>&lt;p&gt;should gave been rvm gemset create rails3&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Carey</dc:creator><pubDate>Fri, 28 May 2010 12:03:23 -0000</pubDate></item><item><title>Re: Travel To The Core Rails 3 Methods Without Leaving IRB Prompt</title><link>http://dolzhenko.org/blog/?p=167#comment-52668258</link><description>&lt;p&gt;One thing to add is the recommendation to create a rails3 gemset so as to not pollute your global gem space until rals3 is released:&lt;br&gt;rvm 1.9.2-head&lt;br&gt;rvm create rails3&lt;br&gt;rvm 1.9.2-head@rails3&lt;br&gt;gem install rails --pre&lt;/p&gt;&lt;p&gt;See here for more details about gemsets&lt;br&gt;&lt;a href="http://rvm.beginrescueend.com/gemsets/basics/" rel="nofollow noopener" target="_blank" title="http://rvm.beginrescueend.com/gemsets/basics/"&gt;http://rvm.beginrescueend.c...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Carey</dc:creator><pubDate>Fri, 28 May 2010 12:01:13 -0000</pubDate></item><item><title>Re: Exploring Latest ruby-lib Additions</title><link>http://dolzhenko.org/blog/?p=85#comment-42675979</link><description>&lt;p&gt;@Manuel, Enumerable#group_by examines the whole collection grouping elements from anywhere in the collection based on the value computed by the block (and returning Hash), while Enumerable#chunk groups/"chunks" only the consecutive elements returning Array of Arrays (structure which can be searched with Array#assoc).&lt;/p&gt;&lt;p&gt;Probably better illustrated with example:&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;pre&gt;&amp;gt; [1,2,1].chunk { |i| i }.to_a&lt;br&gt; =&amp;gt; [[1, [1]], [2, [2]], [1, [1]]] # 3 "chunks" are returned&lt;br&gt;&lt;br&gt;&amp;gt; [1,2,1].group_by { |i| i }&lt;br&gt; =&amp;gt; {1=&amp;gt;[1, 1], 2=&amp;gt;[2]} # only 2 groups are detected&lt;br&gt;&lt;/pre&gt;&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evgeniy Dolzhenko</dc:creator><pubDate>Thu, 01 Apr 2010 06:16:47 -0000</pubDate></item><item><title>Re: Exploring Latest ruby-lib Additions</title><link>http://dolzhenko.org/blog/?p=85#comment-42675978</link><description>&lt;p&gt;How is Enumerable#chunk different from the existing Enumerable#group_by?&lt;br&gt;&lt;a href="http://apidock.com/rails/Enumerable/group_by" rel="nofollow noopener" target="_blank" title="http://apidock.com/rails/Enumerable/group_by"&gt;http://apidock.com/rails/En...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manuel Meurer</dc:creator><pubDate>Thu, 01 Apr 2010 04:23:42 -0000</pubDate></item><item><title>Re: Exploring Latest ruby-lib Additions</title><link>http://dolzhenko.org/blog/?p=85#comment-42675974</link><description>&lt;p&gt;Hey Nick, thanks, my first comment :)&lt;/p&gt;&lt;p&gt;I tried to add comments to the Gists were seems appropriate, but for MySQL dumps and log files the output examples would be really long and not really descriptive.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Evgeniy Dolzhenko</dc:creator><pubDate>Wed, 24 Mar 2010 10:43:28 -0000</pubDate></item><item><title>Re: Exploring Latest ruby-lib Additions</title><link>http://dolzhenko.org/blog/?p=85#comment-42675973</link><description>&lt;p&gt;Thanks for the investigation and write-up, Evgeniy. It'd be great if some output from using your Enumerable#slice_before examples were shown.&lt;/p&gt;&lt;p&gt;Cheers,&lt;br&gt;Nick&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nphoffman</dc:creator><pubDate>Wed, 24 Mar 2010 09:59:14 -0000</pubDate></item></channel></rss>