<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - insanedreamer</title>
<link>http://snipplr.com/users/insanedreamer/tags/rails3</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 17:51:22 GMT</pubDate>
<item>
<title>(Rails) Automagically find localized images</title>
<link>http://snipplr.com/view/45387/automagically-find-localized-images/</link>
<description><![CDATA[ <p>Patches Rails 3 to automatically look for images in a folder corresponding to the current locale (under 'images', ie: '/images/en'), and falling back first to the folder of the default_locale, and then to the main images folder ('/images') if the image was not found in the locale folder. Put any localized images in their corresponding folders ('/images/en', '/images/es', etc.) and any non-localized images in '/images'. No need to specify anything special in the view, just use image_tag as usual.</p> ]]></description>
<pubDate>Tue, 07 Dec 2010 17:29:27 GMT</pubDate>
<guid>http://snipplr.com/view/45387/automagically-find-localized-images/</guid>
</item>
<item>
<title>(Rails) easy flash display with prototype</title>
<link>http://snipplr.com/view/38330/easy-flash-display-with-prototype/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 04 Aug 2010 11:31:51 GMT</pubDate>
<guid>http://snipplr.com/view/38330/easy-flash-display-with-prototype/</guid>
</item>
<item>
<title>(Rails) Display 'loading' icon for all ajax requests</title>
<link>http://snipplr.com/view/37964/display-loading-icon-for-all-ajax-requests/</link>
<description><![CDATA[ <p>Put this in application layout for global use. Have a hidden div called 'loadicon' with a loading icon (or whatever) in it, which is shown/hidden on ajax calls.</p> ]]></description>
<pubDate>Wed, 28 Jul 2010 03:23:07 GMT</pubDate>
<guid>http://snipplr.com/view/37964/display-loading-icon-for-all-ajax-requests/</guid>
</item>
<item>
<title>(Rails) Fetch a page from your site from console</title>
<link>http://snipplr.com/view/37506/fetch-a-page-from-your-site-from-console/</link>
<description><![CDATA[ <p>Add this to .irbrc. 
Allows the following in console:
    > gethtml('/login')
    => HTML of whatever page is generated by /login</p> ]]></description>
<pubDate>Fri, 16 Jul 2010 03:32:35 GMT</pubDate>
<guid>http://snipplr.com/view/37506/fetch-a-page-from-your-site-from-console/</guid>
</item>
<item>
<title>(Rails) Inspect and test routes in console (Rails 3)</title>
<link>http://snipplr.com/view/37067/inspect-and-test-routes-in-console-rails-3/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 10 Jul 2010 08:36:17 GMT</pubDate>
<guid>http://snipplr.com/view/37067/inspect-and-test-routes-in-console-rails-3/</guid>
</item>
<item>
<title>(Rails) To access url helpers (url_for, etc) from Rails console (Rails 3)</title>
<link>http://snipplr.com/view/37063/to-access-url-helpers-urlfor-etc-from-rails-console-rails-3/</link>
<description><![CDATA[ <p>in Rails 2, use `include ActionController::UrlWriter` instead.</p> ]]></description>
<pubDate>Sat, 10 Jul 2010 06:31:36 GMT</pubDate>
<guid>http://snipplr.com/view/37063/to-access-url-helpers-urlfor-etc-from-rails-console-rails-3/</guid>
</item>
</channel>
</rss>