<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Store Business Hours]]></title>
		<link>http://railsforum.com/viewtopic.php?id=51637</link>
		<description><![CDATA[The most recent posts in Store Business Hours.]]></description>
		<lastBuildDate>Tue, 18 Dec 2012 23:51:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Store Business Hours]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=157656#p157656</link>
			<description><![CDATA[<p>I was daydreaming while at work today and figured it out.</p><div class="codebox"><pre><code>Model
integer day
datetime start_time
datetime end_time
boolean closed</code></pre></div><p>Using Date::DAYNAMES.zip((0..6).to_a) to convert the integer to the day name in a select box.</p><p>Using combined_time_select gem to help me make neat time select fields.</p><p>Using stamp gem to help parse the time out of the datetime fields.</p>]]></description>
			<author><![CDATA[dummy@example.com (tuscanidream)]]></author>
			<pubDate>Tue, 18 Dec 2012 23:51:11 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=157656#p157656</guid>
		</item>
		<item>
			<title><![CDATA[Store Business Hours]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=157610#p157610</link>
			<description><![CDATA[<p>Hello! I wish to create store business hours. It will be very simple. I want to include the day of the week, an opening time and a closing time. Also have the options of closed. I just want the user to be able to setup this &quot;weekly schedule&quot; once and change it as needed themselves as I have no idea what holidays she takes off, and she isn&#039;t going to take the time to make a whole yearly schedule.</p><p>Can anyone guide my in the correct direction of how to accomplish this? I haven&#039;t done anything like it before and I just can&#039;t wrap my head around it at the moment.</p><p>Thank you,<br />Keil</p>]]></description>
			<author><![CDATA[dummy@example.com (tuscanidream)]]></author>
			<pubDate>Mon, 17 Dec 2012 15:40:34 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=157610#p157610</guid>
		</item>
	</channel>
</rss>
