<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3718956085911858962.post4611619204875057053..comments</id><updated>2011-06-29T03:49:05.597+05:30</updated><category term='barcamp'/><category term='continuous integration'/><category term='news'/><category term='quirks'/><category term='web'/><category term='books'/><category term='bug'/><category term='recruiting'/><category term='registry'/><category term='spawn'/><category term='gwt'/><category term='methodology'/><category term='symlinks'/><category term='innovative'/><category term='dzone'/><category term='DCB1'/><category term='junction'/><category term='css'/><category term='evolving'/><category term='devcampbangalore'/><category term='utf8'/><category term='rails'/><category term='video'/><category term='c42'/><category term='.net'/><category term='performance'/><category term='cc.rb'/><category term='xp'/><category term='training'/><category term='rant'/><category term='undernet'/><category term='resharper'/><category term='JSNI'/><category term='scala'/><category term='java'/><category term='refactoring'/><category term='activ'/><category term='anti-pattern'/><category term='security'/><category term='intro'/><category term='humour'/><category term='thoughtworks'/><category term='intellij'/><category term='india'/><category term='barcampbangalore5'/><category term='hackdayindia'/><category term='django'/><category term='links'/><category term='mochikit'/><category term='hiring'/><category term='mvc'/><category term='leisure'/><category term='interview'/><category term='photo'/><category term='brug'/><category term='twb'/><category term='opinion'/><category term='content repository'/><category term='digg'/><category term='practices'/><category term='mongrel'/><category term='mac'/><category term='offshore'/><category term='darkness'/><category term='OOP'/><category term='quality'/><category term='fun'/><category term='feedburner'/><category term='testing'/><category term='release'/><category term='architecture'/><category term='musings'/><category term='nasscom'/><category term='gotcha'/><category term='prototype'/><category term='ide'/><category term='ruby'/><category term='rdt'/><category term='dragdrop'/><category term='jcr'/><category term='skills'/><category term='javascript'/><category term='bangpypers'/><category term='tomcat'/><category term='event'/><category term='conference'/><category term='osx'/><category term='sysinternals'/><category term='announcement'/><category term='GI'/><category term='bangalore'/><category term='unconference'/><category term='agile'/><category term='python'/><category term='plugin'/><category term='analysis'/><category term='javaone'/><category term='browser'/><category term='enterprise'/><category term='ci'/><category term='barcampbangalore4'/><category term='windows'/><category term='irc'/><category term='tdd'/><category term='tweak'/><category term='recruitment'/><category term='rubyconf'/><category term='jackrabbit'/><category term='hack'/><category term='dcb2'/><category term='oss'/><category term='cycle'/><category term='tool'/><category term='feedflare'/><category term='REST'/><category term='feedflareunit'/><category term='ajax'/><category term='howto'/><category term='programming'/><category term='bcb4'/><category term='startup'/><category term='deployment'/><category term='tw'/><category term='lucene'/><category term='metaprogramming'/><category term='2010'/><category term='noob'/><category term='dining table'/><category term='YUI'/><category term='tibco'/><category term='versioning'/><category term='literature'/><category term='jquery'/><category term='activeresource'/><category term='cool'/><category term='rubyconf2011'/><category term='blogger'/><category term='call'/><category term='twitter'/><category term='functional programming'/><category term='search'/><category term='mingle'/><category term='microsoft'/><category term='book review verdict:read'/><category term='jruby'/><category term='goldberg'/><category term='wrest'/><title type='text'>Comments on Electric Sheep Blog: ActiveResource logging tip</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.sidu.in/feeds/4611619204875057053/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html'/><author><name>Sidu</name><uri>http://www.blogger.com/profile/11938300811286150164</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://static.flickr.com/74/186326016_765e6e2222_s.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-8849800530609320340</id><published>2011-06-29T03:49:05.597+05:30</published><updated>2011-06-29T03:49:05.597+05:30</updated><title type='text'>where does ActiveResource log to? Or rather, for a...</title><content type='html'>where does ActiveResource log to? Or rather, for a rails application in production mode, where does ActiveRecord.logger write to? (production.log?)&lt;br /&gt;&lt;br /&gt;I can seem to find ActiveResource calls in the log file even after this change in environment.rb&lt;br /&gt;&lt;br /&gt;thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/8849800530609320340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/8849800530609320340'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html?showComment=1309299545597#c8849800530609320340' title=''/><author><name>Unknown</name><uri>http://www.blogger.com/profile/01275130145590932051</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-4611619204875057053' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/4611619204875057053' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1937996851'/></entry><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-5677025293840032923</id><published>2011-05-05T16:07:05.824+05:30</published><updated>2011-05-05T16:07:05.824+05:30</updated><title type='text'>I&amp;#39;ve already patched connection to allow a cus...</title><content type='html'>I&amp;#39;ve already patched connection to allow a custom header value but I don&amp;#39;t see how to get it to log...&lt;br /&gt;&lt;br /&gt;class ActiveResource::Connection&lt;br /&gt;  alias :static_default_header :default_header&lt;br /&gt;&lt;br /&gt;  def set_header(key, value)&lt;br /&gt;    default_header.update(key =&amp;gt; value)&lt;br /&gt;  end&lt;br /&gt;end</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/5677025293840032923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/5677025293840032923'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html?showComment=1304591825824#c5677025293840032923' title=''/><author><name>adam</name><uri>http://www.blogger.com/profile/12562233516690666160</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-4611619204875057053' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/4611619204875057053' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-498646205'/></entry><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-7489799989883361608</id><published>2011-05-05T15:35:57.687+05:30</published><updated>2011-05-05T15:35:57.687+05:30</updated><title type='text'>Yes, but you&amp;#39;d have to monkey patch &lt;i&gt;ActiveR...</title><content type='html'>Yes, but you&amp;#39;d have to monkey patch &lt;i&gt;ActiveResource#connection&lt;/i&gt;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/7489799989883361608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/7489799989883361608'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html?showComment=1304589957687#c7489799989883361608' title=''/><author><name>Sidu</name><uri>http://www.blogger.com/profile/11938300811286150164</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://static.flickr.com/74/186326016_765e6e2222_s.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-4611619204875057053' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/4611619204875057053' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-331438855'/></entry><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-8809528945643856352</id><published>2011-05-05T15:26:17.888+05:30</published><updated>2011-05-05T15:26:17.888+05:30</updated><title type='text'>Any way to have the Active Resource loggers also l...</title><content type='html'>Any way to have the Active Resource loggers also log the http headers going out?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/8809528945643856352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/8809528945643856352'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html?showComment=1304589377888#c8809528945643856352' title=''/><author><name>adam</name><uri>http://www.blogger.com/profile/12562233516690666160</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-4611619204875057053' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/4611619204875057053' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-498646205'/></entry><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-3297119034953325144</id><published>2010-05-02T07:22:17.688+05:30</published><updated>2010-05-02T07:22:17.688+05:30</updated><title type='text'>I have a file that I put in the initializers direc...</title><content type='html'>I have a file that I put in the initializers directory to print the AR queries to STDOUT in script/console.  You could do the same with area.&lt;br /&gt;&lt;br /&gt;The script is:&lt;br /&gt;# make AR output go to STDOUT in script/console&lt;br /&gt;if &amp;quot;irb&amp;quot; == $0&lt;br /&gt;  ActiveRecord::Base.logger = Logger.new(STDOUT)&lt;br /&gt;end</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/3297119034953325144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/3297119034953325144'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html?showComment=1272765137688#c3297119034953325144' title=''/><author><name>Barrett</name><uri>http://blog.websitesbybarrett.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-4611619204875057053' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/4611619204875057053' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-828969752'/></entry><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-8573493121039819831</id><published>2009-12-17T14:30:15.844+05:30</published><updated>2009-12-17T14:30:15.844+05:30</updated><title type='text'>@DerHeiligste That&amp;#39;s probably because inside A...</title><content type='html'>@DerHeiligste That&amp;#39;s probably because inside ActiveRecord::Base.loggers was still nil inside of the config block.&lt;br /&gt;&lt;br /&gt;Feel free to ping me should you need any further assistance - I&amp;#39;ve spent more time than I care to think about alternately developing POX resources and wrestling with ActiveResource, so hopefully I can save you some effort.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/8573493121039819831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/8573493121039819831'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html?showComment=1261040415844#c8573493121039819831' title=''/><author><name>Sidu</name><uri>http://www.blogger.com/profile/11938300811286150164</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://static.flickr.com/74/186326016_765e6e2222_s.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-4611619204875057053' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/4611619204875057053' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-331438855'/></entry><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-4355477369281800478</id><published>2009-12-17T04:40:58.778+05:30</published><updated>2009-12-17T04:40:58.778+05:30</updated><title type='text'>Thanks a million!

Tip for totally clueless people...</title><content type='html'>Thanks a million!&lt;br /&gt;&lt;br /&gt;Tip for totally clueless people like me: it has to be put outside of the &amp;quot;Rails::Initializer.run do |config| ... end&amp;quot; section (at least I got a scary  error when I put it in there).&lt;br /&gt;&lt;br /&gt;I know next to nothing about Ruby and even less about Rails, but I&amp;#39;m trying to design our company&amp;#39;s web-service API to be as ActiveResource-friendly as possible.  In my book that means I have to develop at least a simple Rails app that exercises all of the API.  Combined with my extreme ignorance leads to GSDD (Google-Search Driven Development), which is only possible because of wonderful people like you who put this information where Google can index it.&lt;br /&gt;&lt;br /&gt;Again, thanks a million times!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/4355477369281800478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/4355477369281800478'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html?showComment=1261005058778#c4355477369281800478' title=''/><author><name>DerHeiligste</name><uri>http://www.blogger.com/profile/07074727197158598993</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-4611619204875057053' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/4611619204875057053' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-858400396'/></entry><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-3657872370741738829</id><published>2009-10-23T23:10:33.840+05:30</published><updated>2009-10-23T23:10:33.840+05:30</updated><title type='text'>Thank you!!  But I had to put this line inside con...</title><content type='html'>Thank you!!  But I had to put this line inside config/initializers/new_rails_defaults.rb</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/3657872370741738829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/3657872370741738829'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html?showComment=1256319633840#c3657872370741738829' title=''/><author><name>either0r</name><uri>http://www.blogger.com/profile/02756089702263053660</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-4611619204875057053' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/4611619204875057053' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-219357788'/></entry><entry><id>tag:blogger.com,1999:blog-3718956085911858962.post-4622426740314817579</id><published>2009-07-09T23:40:28.254+05:30</published><updated>2009-07-09T23:40:28.254+05:30</updated><title type='text'>Thanks man...big help.  Much appreciated.</title><content type='html'>Thanks man...big help.  Much appreciated.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/4622426740314817579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3718956085911858962/4611619204875057053/comments/default/4622426740314817579'/><link rel='alternate' type='text/html' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html?showComment=1247163028254#c4622426740314817579' title=''/><author><name>kevindewalt</name><uri>http://kevindewalt.myopenid.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sidu.in/2009/03/activresource-logging-tip.html' ref='tag:blogger.com,1999:blog-3718956085911858962.post-4611619204875057053' source='http://www.blogger.com/feeds/3718956085911858962/posts/default/4611619204875057053' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1631147592'/></entry></feed>
