<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Rendering mp3 audio files using Rails]]></title>
		<link>http://railsforum.com/viewtopic.php?id=51907</link>
		<description><![CDATA[The most recent posts in Rendering mp3 audio files using Rails.]]></description>
		<lastBuildDate>Sat, 19 Jan 2013 03:15:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Rendering mp3 audio files using Rails]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=158414#p158414</link>
			<description><![CDATA[<p>Some links for you to look at:</p><p><a href="http://guides.rubyonrails.org/layouts_and_rendering.html">http://guides.rubyonrails.org/layouts_a &#133; ering.html</a><br /><a href="http://blog.rubyrockers.com/2011/10/respond-custom-formats-rails/">http://blog.rubyrockers.com/2011/10/res &#133; ats-rails/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (tuscanidream)]]></author>
			<pubDate>Sat, 19 Jan 2013 03:15:38 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=158414#p158414</guid>
		</item>
		<item>
			<title><![CDATA[Rendering mp3 audio files using Rails]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=158116#p158116</link>
			<description><![CDATA[<p>Hi,I want to render an Mp3 Audio file using Rails. I have an Android App client which is used to play audio files. The server is in Ruby on Rails and am trying to use my controller to render the audio file. I have tried Rack (this is the post on Stack Overflow -&gt; <a href="http://stackoverflow.com/questions/14078626/serving-audio-mp3-using-rack">http://stackoverflow.com/questions/1407 &#133; using-rack</a> ) . I have also tried the code below.Routes.rb&nbsp; map.connect &#039;play/song.json&#039;, :controller =&gt; &#039;song&#039;, :action =&gt; &#039;play&#039;, :conditions =&gt; {:method =&gt; :get}Controller&nbsp; def play&nbsp; &nbsp; render :json =&gt; {</p>]]></description>
			<author><![CDATA[dummy@example.com (haripoter77)]]></author>
			<pubDate>Mon, 07 Jan 2013 13:36:31 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=158116#p158116</guid>
		</item>
	</channel>
</rss>
