<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-13830</id>
	<title>Nabble - Ruby on Rails</title>
	<updated>2008-10-06T15:32:29Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Ruby-on-Rails-f13830.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Ruby-on-Rails-f13830.html" />
	<subtitle type="html">Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. From the Ajax in the view, to the request and response in the controller, to the domain model wrapping the database, Rails gives you a pure-Ruby development environment. To go live, all you need to add is a database and a web server. Ruby on Rails home is &lt;a href=&quot;http://rubyonrails.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19847641</id>
	<title>Re: Before 2.2 RC1 is pushed</title>
	<published>2008-10-06T15:32:29Z</published>
	<updated>2008-10-06T15:32:29Z</updated>
	<author>
		<name>madlep</name>
	</author>
	<content type="html">&lt;br&gt;Hi Pratik
&lt;br&gt;&lt;br&gt;Could we get this one in
&lt;br&gt;&lt;a href=&quot;http://rails.lighthouseapp.com/projects/8994/tickets/1085-asset_tag_helperrb-expression-bug-in-compute_public_path&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rails.lighthouseapp.com/projects/8994/tickets/1085-asset_tag_helperrb-expression-bug-in-compute_public_path&lt;/a&gt;&lt;br&gt;&lt;br&gt;Small bug fix for image_tag generating a bad URL when running on
&lt;br&gt;Windows.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;madlep
&lt;br&gt;&lt;br&gt;On Oct 7, 3:38 am, Pratik &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847641&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pratikn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just sending this email to keep you guys in the loop as Rails 2.2 RC1
&lt;br&gt;&amp;gt; release is imminent. After the RC1 is release, no new features will be
&lt;br&gt;&amp;gt; committed to the 2.2 branch and the API will be frozen as well. It'll
&lt;br&gt;&amp;gt; all be about bug fixes then.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So before 2.2.RC1 is pushed, if you think any features should make it
&lt;br&gt;&amp;gt; in, please let your voices be heard. Same goes for any critical bug
&lt;br&gt;&amp;gt; fixes. If you have any pending patches that you want in 2.2, speak
&lt;br&gt;&amp;gt; now.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Cheers!
&lt;br&gt;&amp;gt; - Pratikhttp://m.onkey.org
&lt;/div&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847641&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847641&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Core-f13832.html&quot; embed=&quot;fixTarget[13832]&quot; target=&quot;_top&quot; &gt;RubyOnRails Core&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Before-2.2-RC1-is-pushed-tp19841556p19847641.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847616</id>
	<title>Mistaking with polymorphic associations?!</title>
	<published>2008-10-06T15:30:14Z</published>
	<updated>2008-10-06T15:30:14Z</updated>
	<author>
		<name>Luiz Vitor Martinez Cardoso</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hello,&lt;br&gt;&lt;br&gt;I&amp;#39;m trying to solve a problem without success. Look at:&lt;br&gt;&lt;br&gt;I have 3 models (Recipe, Comments and User)&lt;br&gt;&lt;br&gt;an Recipe has many Comments&lt;br&gt;an User has many Comments&lt;br&gt;an User has many Recipes&lt;br&gt;
&lt;br&gt;I tried to implement this using polymorphic associations with the Comment model. But the expected behavior needs to be: When a new comment is created i need to refer it in Recipe and Comments. To clarify i need to be able to search for one Recipe and use something like Recipe.comments to find comments!&lt;br&gt;
&lt;br&gt;Any suggestions?&amp;nbsp; &lt;br clear=&quot;all&quot;&gt;&lt;br&gt;Regards,&lt;br&gt;Grabber.&lt;br&gt;
&lt;/div&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847616&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847616&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en &lt;br&gt; -~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Mistaking-with-polymorphic-associations-%21-tp19847616p19847616.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847600</id>
	<title>How manage bounce emails with a different email?</title>
	<published>2008-10-06T15:28:45Z</published>
	<updated>2008-10-06T15:28:45Z</updated>
	<author>
		<name>Andi Geheim</name>
	</author>
	<content type="html">&lt;br&gt;Hi, i send emails with a from and a reply-to email address, but i want
&lt;br&gt;that the bounces are returned to another email address. How can i do
&lt;br&gt;this?
&lt;br&gt;I found that the return-path value would solve this, but it's set by the
&lt;br&gt;last mail server, so i can't set it by myself (and actually i don't know
&lt;br&gt;neither how i could set on other mail servers, probably paying, but i
&lt;br&gt;didn't found how much)
&lt;br&gt;Any idea? Is there any other email header value that would help in this
&lt;br&gt;case?
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847600&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847600&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-manage-bounce-emails-with-a-different-email--tp19847600p19847600.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847515</id>
	<title>Disabling a form if a url param is not present...</title>
	<published>2008-10-06T15:20:04Z</published>
	<updated>2008-10-06T15:20:04Z</updated>
	<author>
		<name>ressister</name>
	</author>
	<content type="html">&lt;br&gt;Hi there, I've used Javascript in the past to disable form fields, but
&lt;br&gt;I'm wondering if there's a way to easily do this with Rails during the
&lt;br&gt;page generation.
&lt;br&gt;&lt;br&gt;In my app, i have a page that has a form. &amp;nbsp;I want to disable the form
&lt;br&gt;if a set of URL parameters are not present. &amp;nbsp;I could perhaps do some
&lt;br&gt;javascript onload function that disables all the form fields, or add
&lt;br&gt;conditional logic to the rails template which would be messy.
&lt;br&gt;&lt;br&gt;What's the best way to handle this? &amp;nbsp;I have about 6 fields in the form
&lt;br&gt;that I want disabled if the url params aren't present.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;-A
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847515&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847515&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Disabling-a-form-if-a-url-param-is-not-present...-tp19847515p19847515.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847632</id>
	<title>Re: Regular Expression pattern matching question...</title>
	<published>2008-10-06T15:14:31Z</published>
	<updated>2008-10-06T15:14:31Z</updated>
	<author>
		<name>Dejan Dimic</name>
	</author>
	<content type="html">&lt;br&gt;you can always use &lt;a href=&quot;http://www.rubular.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.rubular.com/&lt;/a&gt;&amp;nbsp;to test your RexExp.
&lt;br&gt;&lt;br&gt;On Oct 6, 10:25 pm, &amp;quot;Johannes J. Schmidt&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847632&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;d...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; eg /(\d+\.){0,1}\d+$/
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; g jo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Am Mittwoch, den 24.09.2008, 16:20 -0700 schrieb ressister:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi there, I'm trying to split a string using RegExp to extract a price
&lt;br&gt;&amp;gt; &amp;gt; from it.  The price may or may not have a dollar sign in front of it
&lt;br&gt;&amp;gt; &amp;gt; and may or may not contain a decimal value.  Below are some string
&lt;br&gt;&amp;gt; &amp;gt; examples of what the regular expression would need to handle to split
&lt;br&gt;&amp;gt; &amp;gt; out the price:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Example 1:
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;2 starbuck's coffees 9.99&amp;quot;    &amp;lt;- price is 9.99
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Example 2:
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;99 red baloons 175&amp;quot;   &amp;lt;- price is 175
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Example 3:
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;starbuck's coffee $9.99&amp;quot;  &amp;lt;- price is 9.99
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Example 4:
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;starbucks coffee 9&amp;quot;   &amp;lt;- price is 9
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; So the trouble is: a) in Example 3, I can't count on the dollar sign
&lt;br&gt;&amp;gt; &amp;gt; being there all the time.  Some instances it will, other instances it
&lt;br&gt;&amp;gt; &amp;gt; won't and b) in the case of Example 2, there may be a number at the
&lt;br&gt;&amp;gt; &amp;gt; start of the string of indeterminate length that I want to ignore
&lt;br&gt;&amp;gt; &amp;gt; since this could represent the quantity, not the price.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; What would the RegExp look like that would split out the price?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt; &amp;gt; -A
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847632&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847632&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Regular-Expression-pattern-matching-question...-tp19660038p19847632.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847449</id>
	<title>Re: Before 2.2 RC1 is pushed</title>
	<published>2008-10-06T15:14:17Z</published>
	<updated>2008-10-06T15:14:17Z</updated>
	<author>
		<name>will.bryant</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Oct 7, 2008 at 5:38 AM, Pratik &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847449&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pratiknaik@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
So before 2.2.RC1 is pushed, if you think any features should make it&lt;br&gt;
in, please let your voices be heard. Same goes for any critical bug&lt;br&gt;
fixes. If you have any pending patches that you want in 2.2, speak&lt;br&gt;
now.&lt;br&gt;
&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;My patch on #1110, please. &amp;nbsp;It&amp;#39;s a regression introduced in 2.1, and the patch is fairly straightforward.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847449&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847449&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en &lt;br&gt; -~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Core-f13832.html&quot; embed=&quot;fixTarget[13832]&quot; target=&quot;_top&quot; &gt;RubyOnRails Core&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Before-2.2-RC1-is-pushed-tp19841556p19847449.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847425</id>
	<title>OT: What happened to Rspec Google group?</title>
	<published>2008-10-06T15:12:25Z</published>
	<updated>2008-10-06T15:12:25Z</updated>
	<author>
		<name>John Ivanoff</name>
	</author>
	<content type="html">&lt;br&gt;It disappeared over the weekend. Anybody know what happened?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://groups.google.com/group/rspec/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rspec/&lt;/a&gt;&lt;br&gt;&lt;br&gt;John I
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847425&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847425&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/OT%3A-What-happened-to-Rspec-Google-group--tp19847425p19847425.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847351</id>
	<title>Re: Namespaces for admin fucntionality, worth the effort?</title>
	<published>2008-10-06T15:06:26Z</published>
	<updated>2008-10-06T15:06:26Z</updated>
	<author>
		<name>Philip Hallstrom-6</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;On Oct 6, 2008, at 1:31 PM, comopasta Gr wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm currently having the admin part of one of my apps accessible by &amp;nbsp;
&lt;br&gt;&amp;gt; pure
&lt;br&gt;&amp;gt; username and password + role management checking.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I was planning to add namespaces for it. Then I came accross this (a &amp;nbsp;
&lt;br&gt;&amp;gt; bit
&lt;br&gt;&amp;gt; old but still...):
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://glu.ttono.us/articles/2006/08/30/guide-things-you-shouldnt-be-doing-in-rails&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://glu.ttono.us/articles/2006/08/30/guide-things-you-shouldnt-be-doing-in-rails&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;Putting Controllers in Namespaces
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is really more trouble than it’s worth. You run into all sorts of
&lt;br&gt;&amp;gt; crazy errors if you do this and you’ll be confused and frustrated.
&lt;br&gt;&amp;gt; You’ll then ask other people about it and they’ll either blow you off
&lt;br&gt;&amp;gt; for using namespaces with controllers or procede to get confused and
&lt;br&gt;&amp;gt; frustrated as well. Then you’ll say, “I with I had listened to Kevin &amp;nbsp;
&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt; Chris”. If you want /admin/some_controller as an URL that’s fine. Use
&lt;br&gt;&amp;gt; the routing that’s built into rails.&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've used namespaces for admin before and actually it can create
&lt;br&gt;&amp;gt; confusion. On the other hand using a common controller with some extra
&lt;br&gt;&amp;gt; is_admin? checks can be a bit ugly. I know it all depends on how
&lt;br&gt;&amp;gt; different the admin funcionality is.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But is there any opinions/experiences you could share on this issue?
&lt;/div&gt;&lt;br&gt;I've done it quite a few times... rails 1.1.6, 1.2.3, and several with &amp;nbsp;
&lt;br&gt;whatever is current 2.1.1 (?). &amp;nbsp;I haven't had any problems...
&lt;br&gt;&lt;br&gt;-philip
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847351&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847351&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Namespaces-for-admin-fucntionality%2C-worth-the-effort--tp19845834p19847351.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847287</id>
	<title>Re: the performance debate</title>
	<published>2008-10-06T15:00:12Z</published>
	<updated>2008-10-06T15:00:12Z</updated>
	<author>
		<name>Maurício Linhares-3</name>
	</author>
	<content type="html">&lt;br&gt;Based on what do you say that Ruby is easier and more enjoyable than
&lt;br&gt;PHP? On your own opinion? On your own experience?
&lt;br&gt;&lt;br&gt;Saying that X is &amp;quot;easier&amp;quot; to learn than Y is a highly subjective
&lt;br&gt;matter, maybe for you it's true, but it isn't for someone else.
&lt;br&gt;&lt;br&gt;His questions where pretty simple and the answer is even simpler, PHP
&lt;br&gt;is faster than Ruby, that's is a fact and any benchmark can make you
&lt;br&gt;reach the same answer without any subjectivity.
&lt;br&gt;&lt;br&gt;And i can definitely smell prejudice in this question, &amp;quot;Does using
&lt;br&gt;Rails make you a better developer than using CakePHP?&amp;quot;. Ruby/Rails
&lt;br&gt;developers are no better than any other developers in any other
&lt;br&gt;language, you will always find crappy code, be it in Ruby, Java, PHP,
&lt;br&gt;if the developer is an idiot, he'll write ugly code using any tool he
&lt;br&gt;can get a hold.
&lt;br&gt;&lt;br&gt;Let us not spread this &amp;quot;my d*ck is bigger than yours&amp;quot; idea any longer.
&lt;br&gt;&lt;br&gt;On Mon, Oct 6, 2008 at 6:11 PM, CPerry &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847287&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cory@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think the more important questions to ask are:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is Ruby easier and more enjoyable that PHP?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is Ruby cleaner than PHP?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is Ruby on Rails easier than CakePHP?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does using Rails make you a better developer than using CakePHP?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would say Yes.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Those are the important questions to be asking. Now, as far as speed.
&lt;br&gt;&amp;gt; Depending on how the app is built, Ruby could certainly be faster than
&lt;br&gt;&amp;gt; PHP and vice versa. All languages are slow if not built and configured
&lt;br&gt;&amp;gt; correctly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Once again, this is a debate that cannot be had on these
&lt;br&gt;&amp;gt; generalizations alone, unless you are talking about the pure core
&lt;br&gt;&amp;gt; attributes of both languages. Ruby easier to learn and much more
&lt;br&gt;&amp;gt; enjoyable and cleaner to use than PHP, period.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --Cory
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Maurício Linhares
&lt;br&gt;&lt;a href=&quot;http://alinhavado.wordpress.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://alinhavado.wordpress.com/&lt;/a&gt;&amp;nbsp;(pt-br) | &lt;a href=&quot;http://blog.codevader.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.codevader.com/&lt;/a&gt;&amp;nbsp;(en)
&lt;br&gt;João Pessoa, PB, +55 83 8867-7208
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847287&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847287&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/the-performance-debate-tp19840390p19847287.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847239</id>
	<title>Re: Should I create foreign keys on my database?</title>
	<published>2008-10-06T14:58:00Z</published>
	<updated>2008-10-06T14:58:00Z</updated>
	<author>
		<name>Frederick Cheung-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;On Oct 6, 10:44 pm, &amp;quot;Pardee, Roy&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847239&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;parde...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I'd make that &amp;quot;or there are other apps that *will ever* update the database&amp;quot;.  Also, if you use SQL to change data (and I'd include stuff like update_all and delete_all calls) you may well appreciate having the protection of FKs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I may fit that &amp;quot;paranoid&amp;quot; description... ;)
&lt;br&gt;&lt;br&gt;I'm well and truly in there. App level constraints are not hard
&lt;br&gt;constraints in the sense that a unique index or a foreign key are:
&lt;br&gt;they do suffer from race conditions.
&lt;br&gt;&lt;br&gt;Fred
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847239&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847239&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;] On Behalf Of Rob Biedenharn
&lt;br&gt;&amp;gt; Sent: Monday, October 06, 2008 2:14 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847239&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [Rails] Re: Should I create foreign keys on my database?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Oct 6, 2008, at 5:06 PM, elioncho wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have a dilemma. Should I create foreign keys on my database or
&lt;br&gt;&amp;gt; &amp;gt; should I let the app models do all the work?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Elioncho
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If the Rails app is the only thing hitting the database, then let ActiveRecord handle it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you're paranoid or there are other apps updating the database, then go for the safety-net.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In any case, you certainly want indexes on your *_id columns if there is a has_many that uses it.  (I.e., on the bars.foo_id column if Foo has_many :bars)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Rob
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rob Biedenharn          &lt;a href=&quot;http://agileconsultingllc.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://agileconsultingllc.com&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847239&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;R...@...&lt;/a&gt;
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847239&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847239&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Should-I-create-foreign-keys-on-my-database--tp19846463p19847239.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847137</id>
	<title>has_many:through - how to save extra field (good way)</title>
	<published>2008-10-06T14:52:46Z</published>
	<updated>2008-10-06T14:52:46Z</updated>
	<author>
		<name>regis.dev</name>
	</author>
	<content type="html">Hi, i try since now few days to implement a join table with extra fields.
&lt;br&gt;&lt;br&gt;==============
&lt;br&gt;Database Model
&lt;br&gt;==============
&lt;br&gt;&lt;br&gt;table events
&lt;br&gt;&amp;nbsp; id
&lt;br&gt;&amp;nbsp; name
&lt;br&gt;&lt;br&gt;table photos
&lt;br&gt;&amp;nbsp; id
&lt;br&gt;&amp;nbsp; filename
&lt;br&gt;&amp;nbsp; path
&lt;br&gt;&lt;br&gt;table event_photos
&lt;br&gt;&amp;nbsp; id
&lt;br&gt;&amp;nbsp; event_id
&lt;br&gt;&amp;nbsp; photo_id
&lt;br&gt;&amp;nbsp; position
&lt;br&gt;&amp;nbsp; default
&lt;br&gt;&lt;br&gt;==========
&lt;br&gt;Ruby Model
&lt;br&gt;==========
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;class Event &amp;lt; ActiveRecord::Base
&lt;br&gt;...
&lt;br&gt;&amp;nbsp; has_many :event_photo
&lt;br&gt;&amp;nbsp; has_many :photos, :through =&amp;gt; :event_photo
&lt;br&gt;...
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;class Photo &amp;lt; ActiveRecord::Base
&lt;br&gt;...
&lt;br&gt;end &amp;nbsp;
&lt;br&gt;&lt;br&gt;class EventPhoto &amp;lt; ActiveRecord::Base
&lt;br&gt;&amp;nbsp; belongs_to :event
&lt;br&gt;&amp;nbsp; belongs_to :photo
&lt;br&gt;end&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
=======
&lt;br&gt;Problem
&lt;br&gt;=======
&lt;br&gt;&lt;br&gt;When i edit an event i m adding new pictures (they are already save in the database), i m just grabbing the id and put in my form some input hidden field (with javascript function).
&lt;br&gt;&lt;br&gt;&amp;lt;input id=&amp;quot;event[photo_ids][]&amp;quot; type=&amp;quot;hidden&amp;quot; value=&amp;quot;4&amp;quot; name=&amp;quot;event[photo_ids][]&amp;quot; /&amp;gt;
&lt;br&gt;(4 it is the photo id)
&lt;br&gt;&lt;br&gt;When i save with my update method everything working, i mean in my join table im saving the event_id and photo_id (but position and default are NULL, and that make sense at this point it is not set!)
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&amp;nbsp; def update
&lt;br&gt;&amp;nbsp; &amp;nbsp; @event = Event.find(params[:id])
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; if(params[:event][:photo_ids] == nil) #Quick fix about the photos
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; @event.photo_ids = nil
&lt;br&gt;&amp;nbsp; &amp;nbsp; end
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; respond_to do |format|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if @event.update_attributes(params[:event])
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; flash[:notice] = 'Event was successfully updated.'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; format.html { redirect_to :action =&amp;gt; 'edit', :id =&amp;gt; @event.id }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; format.xml &amp;nbsp;{ head :ok }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; format.html { render :action =&amp;gt; &amp;quot;edit&amp;quot; , :layout =&amp;gt; 'editor'}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; format.xml &amp;nbsp;{ render :xml =&amp;gt; @event.errors, :status =&amp;gt; :unprocessable_entity }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; end
&lt;br&gt;&amp;nbsp; &amp;nbsp; end
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;end&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
So now i would like to now how to set my position(integer) and default(boolean) attribute in EventPhoto. What is the best way ???
&lt;br&gt;&lt;br&gt;NB: &amp;quot;position&amp;quot; attribute permit to set the order to display the photos, and &amp;quot;default&amp;quot; attribute is the default picture of the event, we can only have one.
&lt;br&gt;&lt;br&gt;I search on the web and also on the forum, but i didnt really find a good solution. If somebody have a clue, please be feel free to give some advice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;thanks for your reply&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/has_many%3Athrough---how-to-save-extra-field-%28good-way%29-tp19847137p19847137.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19847024</id>
	<title>Re: Should I create foreign keys on my database?</title>
	<published>2008-10-06T14:44:21Z</published>
	<updated>2008-10-06T14:44:21Z</updated>
	<author>
		<name>Pardee, Roy</name>
	</author>
	<content type="html">&lt;br&gt;I'd make that &amp;quot;or there are other apps that *will ever* update the database&amp;quot;. &amp;nbsp;Also, if you use SQL to change data (and I'd include stuff like update_all and delete_all calls) you may well appreciate having the protection of FKs.
&lt;br&gt;&lt;br&gt;I may fit that &amp;quot;paranoid&amp;quot; description... ;)
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847024&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847024&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;] On Behalf Of Rob Biedenharn
&lt;br&gt;Sent: Monday, October 06, 2008 2:14 PM
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847024&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;Subject: [Rails] Re: Should I create foreign keys on my database?
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Oct 6, 2008, at 5:06 PM, elioncho wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a dilemma. Should I create foreign keys on my database or
&lt;br&gt;&amp;gt; should I let the app models do all the work?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Elioncho
&lt;br&gt;&lt;br&gt;&lt;br&gt;If the Rails app is the only thing hitting the database, then let ActiveRecord handle it.
&lt;br&gt;&lt;br&gt;If you're paranoid or there are other apps updating the database, then go for the safety-net.
&lt;br&gt;&lt;br&gt;In any case, you certainly want indexes on your *_id columns if there is a has_many that uses it. &amp;nbsp;(I.e., on the bars.foo_id column if Foo has_many :bars)
&lt;br&gt;&lt;br&gt;-Rob
&lt;br&gt;&lt;br&gt;Rob Biedenharn &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://agileconsultingllc.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://agileconsultingllc.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847024&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Rob@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847024&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19847024&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Should-I-create-foreign-keys-on-my-database--tp19846463p19847024.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846946</id>
	<title>Re: problem with auto_complete!!</title>
	<published>2008-10-06T14:38:51Z</published>
	<updated>2008-10-06T14:38:51Z</updated>
	<author>
		<name>Andi Geheim</name>
	</author>
	<content type="html">&lt;br&gt;Finally works!!!!!!! these is all I did
&lt;br&gt;1.controller
&lt;br&gt;auto_complete_for :alumno, :nombre
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;protect_from_forgery :only =&amp;gt; [:create, :delete, :update]
&lt;br&gt;2.in my view
&lt;br&gt;&amp;lt;%= text_field_with_auto_complete :alumno, :nombre, {}, {:method =&amp;gt; 
&lt;br&gt;:get} %&amp;gt;
&lt;br&gt;3.in my route
&lt;br&gt;map.resources :alumnos, :collection =&amp;gt; {:auto_complete_for_alumno_nombre 
&lt;br&gt;=&amp;gt; :get }
&lt;br&gt;&lt;br&gt;and that's it. Thanks to all.....
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846946&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846946&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problem-with-auto_complete%21%21-tp19750355p19846946.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846574</id>
	<title>Re: Should I create foreign keys on my database?</title>
	<published>2008-10-06T14:13:30Z</published>
	<updated>2008-10-06T14:13:30Z</updated>
	<author>
		<name>Rob Biedenharn-2</name>
	</author>
	<content type="html">&lt;br&gt;On Oct 6, 2008, at 5:06 PM, elioncho wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a dilemma. Should I create foreign keys on my database or
&lt;br&gt;&amp;gt; should I let the app models do all the work?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Elioncho
&lt;br&gt;&lt;br&gt;&lt;br&gt;If the Rails app is the only thing hitting the database, then let &amp;nbsp;
&lt;br&gt;ActiveRecord handle it.
&lt;br&gt;&lt;br&gt;If you're paranoid or there are other apps updating the database, then &amp;nbsp;
&lt;br&gt;go for the safety-net.
&lt;br&gt;&lt;br&gt;In any case, you certainly want indexes on your *_id columns if there &amp;nbsp;
&lt;br&gt;is a has_many that uses it. &amp;nbsp;(I.e., on the bars.foo_id column if Foo &amp;nbsp;
&lt;br&gt;has_many :bars)
&lt;br&gt;&lt;br&gt;-Rob
&lt;br&gt;&lt;br&gt;Rob Biedenharn		&lt;a href=&quot;http://agileconsultingllc.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://agileconsultingllc.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846574&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Rob@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846574&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846574&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Should-I-create-foreign-keys-on-my-database--tp19846463p19846574.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846536</id>
	<title>Re: the performance debate</title>
	<published>2008-10-06T14:11:38Z</published>
	<updated>2008-10-06T14:11:38Z</updated>
	<author>
		<name>CPerry</name>
	</author>
	<content type="html">&lt;br&gt;I think the more important questions to ask are:
&lt;br&gt;&lt;br&gt;Is Ruby easier and more enjoyable that PHP?
&lt;br&gt;&lt;br&gt;Yes
&lt;br&gt;&lt;br&gt;Is Ruby cleaner than PHP?
&lt;br&gt;&lt;br&gt;Yes
&lt;br&gt;&lt;br&gt;Is Ruby on Rails easier than CakePHP?
&lt;br&gt;&lt;br&gt;Yes
&lt;br&gt;&lt;br&gt;Does using Rails make you a better developer than using CakePHP?
&lt;br&gt;&lt;br&gt;I would say Yes.
&lt;br&gt;&lt;br&gt;Those are the important questions to be asking. Now, as far as speed.
&lt;br&gt;Depending on how the app is built, Ruby could certainly be faster than
&lt;br&gt;PHP and vice versa. All languages are slow if not built and configured
&lt;br&gt;correctly.
&lt;br&gt;&lt;br&gt;Once again, this is a debate that cannot be had on these
&lt;br&gt;generalizations alone, unless you are talking about the pure core
&lt;br&gt;attributes of both languages. Ruby easier to learn and much more
&lt;br&gt;enjoyable and cleaner to use than PHP, period.
&lt;br&gt;&lt;br&gt;--Cory
&lt;br&gt;&lt;br&gt;On Oct 6, 4:19 pm, &amp;quot;Maurício Linhares&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846536&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mauricio.linha...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Interesting to see that Raistlin itself can't answer these simple questions :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now, to the answers:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Is Ruby faster than PHP?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Is Ruby on Rails faster than PHP on CakePHP?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Is Ruby on Rails faster than PHP?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Is Ruby faster than PHP on CakePHP?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Easy, huh?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Oct 6, 2008 at 12:36 PM, Raistlin Majere &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846536&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pedbe...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Is Ruby faster than PHP?
&lt;br&gt;&amp;gt; &amp;gt; Is Ruby on Rails faster than PHP on CakePHP?
&lt;br&gt;&amp;gt; &amp;gt; Is Ruby on Rails faster than PHP?
&lt;br&gt;&amp;gt; &amp;gt; Is Ruby faster than PHP on CakePHP?
&lt;br&gt;&amp;gt; &amp;gt; --~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Maurício Linhareshttp://alinhavado.wordpress.com/(pt-br) |&lt;a href=&quot;http://blog.codevader.com/(en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.codevader.com/(en&lt;/a&gt;)
&lt;br&gt;&amp;gt; João Pessoa, PB, +55 83 8867-7208
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846536&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846536&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/the-performance-debate-tp19840390p19846536.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846468</id>
	<title>Re: problem with auto_complete!!</title>
	<published>2008-10-06T14:06:30Z</published>
	<updated>2008-10-06T14:06:30Z</updated>
	<author>
		<name>Andi Geheim</name>
	</author>
	<content type="html">&lt;br&gt;hello guys!!!
&lt;br&gt;&lt;br&gt;&amp;nbsp;it's me again, I &amp;nbsp;still have problem with my auto_complete, but finally 
&lt;br&gt;I got an error, these is what firebug says
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;html xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;head&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;title&amp;gt;Action Controller: Exception caught&amp;lt;/title&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;style&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; body { background-color: #fff; color: #333; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; body, p, ol, ul, td {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; font-family: verdana, arial, helvetica, sans-serif;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; font-size: &amp;nbsp; 13px;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; line-height: 18px;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; pre {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; background-color: #eee;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; padding: 10px;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; font-size: 11px;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; a { color: #000; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; a:visited { color: #666; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; a:hover { color: #fff; background-color:#000; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;/style&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/head&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;body&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;h1&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; ActionController::InvalidAuthenticityToken
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; in PruebaController#auto_complete_for_alumno_nombre
&lt;br&gt;&amp;lt;/h1&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;pre&amp;gt;ActionController::InvalidAuthenticityToken&amp;lt;/pre&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;code&amp;gt;RAILS_ROOT: /home/jpmg/ruby/completar&amp;lt;/code&amp;gt;&amp;lt;/p&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;div id=&amp;quot;traces&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;#&amp;quot; 
&lt;br&gt;onclick=&amp;quot;document.getElementById('Framework-Trace').style.display='none';document.getElementById
&lt;br&gt;&lt;br&gt;('Full-Trace').style.display='none';document.getElementById('Application-Trace').style.display='block'
&lt;br&gt;&lt;br&gt;;; return false;&amp;quot;&amp;gt;Application Trace&amp;lt;/a&amp;gt; |
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;#&amp;quot; 
&lt;br&gt;onclick=&amp;quot;document.getElementById('Application-Trace').style.display='none';document.getElementById
&lt;br&gt;&lt;br&gt;('Full-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='block'
&lt;br&gt;&lt;br&gt;;; return false;&amp;quot;&amp;gt;Framework Trace&amp;lt;/a&amp;gt; |
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;a href=&amp;quot;#&amp;quot; 
&lt;br&gt;onclick=&amp;quot;document.getElementById('Application-Trace').style.display='none';document.getElementById
&lt;br&gt;&lt;br&gt;('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='block'
&lt;br&gt;&lt;br&gt;;; return false;&amp;quot;&amp;gt;Full Trace&amp;lt;/a&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;div id=&amp;quot;Application-Trace&amp;quot; style=&amp;quot;display: block;&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;pre&amp;gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;div id=&amp;quot;Full-Trace&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;h2 style=&amp;quot;margin-top: 30px&amp;quot;&amp;gt;Request&amp;lt;/h2&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Parameters&amp;lt;/b&amp;gt;: 
&lt;br&gt;&amp;lt;pre&amp;gt;{&amp;quot;alumno&amp;quot;=&amp;gt;{&amp;quot;nombre&amp;quot;=&amp;gt;&amp;quot;K&amp;quot;}}&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot; 
&lt;br&gt;onclick=&amp;quot;document.getElementById('session_dump').style.display='block'; 
&lt;br&gt;return false;&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;gt;Show session dump&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;div id=&amp;quot;session_dump&amp;quot; style=&amp;quot;display:none&amp;quot;&amp;gt;&amp;lt;pre class='debug_dump'&amp;gt;---
&lt;br&gt;&lt;br&gt;:csrf_id: c55efda528b897a47f929b3d45f8b6aa
&lt;br&gt;&lt;br&gt;flash: !map:ActionController::Flash::FlashHash {}
&lt;br&gt;&lt;br&gt;&amp;lt;/pre&amp;gt;&amp;lt;/div&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;h2 style=&amp;quot;margin-top: 30px&amp;quot;&amp;gt;Response&amp;lt;/h2&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Headers&amp;lt;/b&amp;gt;: &amp;lt;pre&amp;gt;{&amp;quot;cookie&amp;quot;=&amp;gt;[],
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;quot;Cache-Control&amp;quot;=&amp;gt;&amp;quot;no-cache&amp;quot;}&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/body&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/html&amp;gt;
&lt;br&gt;can someone help me please I really want to get it right..thank
&lt;br&gt;you!! :-)
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846468&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846468&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problem-with-auto_complete%21%21-tp19750355p19846468.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846463</id>
	<title>Should I create foreign keys on my database?</title>
	<published>2008-10-06T14:06:12Z</published>
	<updated>2008-10-06T14:06:12Z</updated>
	<author>
		<name>elioncho</name>
	</author>
	<content type="html">&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;I have a dilemma. Should I create foreign keys on my database or
&lt;br&gt;should I let the app models do all the work?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Elioncho
&lt;br&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846463&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846463&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Should-I-create-foreign-keys-on-my-database--tp19846463p19846463.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846438</id>
	<title>Re: Question about validations</title>
	<published>2008-10-06T14:04:38Z</published>
	<updated>2008-10-06T14:04:38Z</updated>
	<author>
		<name>elioncho</name>
	</author>
	<content type="html">&lt;br&gt;I'll take your approach then. I'll make a validate_con_create method
&lt;br&gt;on the wall_comment model. Thanks,
&lt;br&gt;&lt;br&gt;Elioncho
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846438&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846438&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Question-about-validations-tp19841804p19846438.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846412</id>
	<title>Re: Newbie Question - Ruby terminal emulator for windows</title>
	<published>2008-10-06T14:03:17Z</published>
	<updated>2008-10-06T14:03:17Z</updated>
	<author>
		<name>Pardee, Roy</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6000.16640&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=108345220-06102008&gt;&lt;FONT face=Arial color=#0000ff&gt;I'd like to know the answer to this myself, but until you get an 
authoritative answer--have you tried the cygwin bash prompt?&amp;nbsp; That probably 
responds to the ANSI color escapes that you need to do color right (tho I 
confess a quick 'script/console' on my XP machine here did not make w/the colors 
:(&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=108345220-06102008&gt;&lt;FONT face=Arial color=#0000ff&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=108345220-06102008&gt;&lt;FONT face=Arial color=#0000ff&gt;I believe ms' powershell has facilities for coloring output, but 
doesn't (shocker!) use the ANSI escapes...&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=108345220-06102008&gt;&lt;FONT face=Arial color=#0000ff&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=108345220-06102008&gt;&lt;FONT face=Arial color=#0000ff&gt;HTH,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=108345220-06102008&gt;&lt;FONT face=Arial color=#0000ff&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=108345220-06102008&gt;&lt;FONT face=Arial color=#0000ff&gt;-Roy&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR&gt;
&lt;DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left&gt;
&lt;HR tabIndex=-1&gt;
&lt;FONT face=Tahoma size=2&gt;&lt;B&gt;From:&lt;/B&gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846412&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt; 
[mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846412&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;] &lt;B&gt;On Behalf Of 
&lt;/B&gt;WholeSum&lt;BR&gt;&lt;B&gt;Sent:&lt;/B&gt; Friday, October 03, 2008 2:58 PM&lt;BR&gt;&lt;B&gt;To:&lt;/B&gt; 
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846412&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;Subject:&lt;/B&gt; [Rails] Newbie Question - 
Ruby terminal emulator for windows&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;I am new to ruby and rails, and am using the windows &quot;cmd&quot; terminal 
emulator. It is all black and white. I like the colored terminal I see in 
peepcode videos and the like. Are there any terminal emulators for vista that 
will give me those type of colored results? Alternatively, and preferably, is 
there a terminal emulator for RadRails yet? After 2 hours of searching, I have 
learned a ton of stuff, but don't have a good windows terminal emulator yet. 
Help! Mark &lt;BR&gt;
&lt;HR align=left width=300&gt;
View this message in context: &lt;A href=&quot;http://www.nabble.com/Newbie-Question---Ruby-terminal-emulator-for-windows-tp19804822p19804822.html&quot; target=&quot;_top&quot;&gt;Newbie 
Question - Ruby terminal emulator for windows&lt;/A&gt;&lt;BR&gt;Sent from the &lt;A href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; target=&quot;_top&quot;&gt;RubyOnRails Users 
mailing list archive&lt;/A&gt; at 
Nabble.com.&lt;BR&gt;&lt;BR&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846412&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846412&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en &lt;br&gt; -~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Newbie-Question---Ruby-terminal-emulator-for-windows-tp19804822p19846412.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19846233</id>
	<title>Hosting Opinion</title>
	<published>2008-10-06T13:53:36Z</published>
	<updated>2008-10-06T13:53:36Z</updated>
	<author>
		<name>MW Administrator-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi -
&lt;br&gt;&lt;br&gt;I'm curious if anyone has used Blue Box Group hosting 
&lt;br&gt;(&lt;a href=&quot;http://www.blueboxgrp.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.blueboxgrp.com/&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;If so how is it. &amp;nbsp;I am looking for an affordable and very reliable 
&lt;br&gt;service to host mission critical apps. BBG looks like a nice outfit.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846233&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19846233&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Hosting-Opinion-tp19846233p19846233.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19845836</id>
	<title>Re: Question about validations</title>
	<published>2008-10-06T13:31:18Z</published>
	<updated>2008-10-06T13:31:18Z</updated>
	<author>
		<name>elioncho</name>
	</author>
	<content type="html">&lt;br&gt;I'll take your approach then. I'll make a validate_con_create method
&lt;br&gt;on the wall_comment model. Thanks,
&lt;br&gt;&lt;br&gt;Elioncho
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845836&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845836&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Question-about-validations-tp19841804p19845836.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19845834</id>
	<title>Namespaces for admin fucntionality, worth the effort?</title>
	<published>2008-10-06T13:31:05Z</published>
	<updated>2008-10-06T13:31:05Z</updated>
	<author>
		<name>Andi Geheim</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I'm currently having the admin part of one of my apps accessible by pure
&lt;br&gt;username and password + role management checking.
&lt;br&gt;&lt;br&gt;I was planning to add namespaces for it. Then I came accross this (a bit
&lt;br&gt;old but still...):
&lt;br&gt;&lt;a href=&quot;http://glu.ttono.us/articles/2006/08/30/guide-things-you-shouldnt-be-doing-in-rails&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://glu.ttono.us/articles/2006/08/30/guide-things-you-shouldnt-be-doing-in-rails&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;Putting Controllers in Namespaces
&lt;br&gt;&lt;br&gt;This is really more trouble than it’s worth. You run into all sorts of
&lt;br&gt;crazy errors if you do this and you’ll be confused and frustrated.
&lt;br&gt;You’ll then ask other people about it and they’ll either blow you off
&lt;br&gt;for using namespaces with controllers or procede to get confused and
&lt;br&gt;frustrated as well. Then you’ll say, “I with I had listened to Kevin and
&lt;br&gt;Chris”. If you want /admin/some_controller as an URL that’s fine. Use
&lt;br&gt;the routing that’s built into rails.&amp;quot;
&lt;br&gt;&lt;br&gt;I've used namespaces for admin before and actually it can create
&lt;br&gt;confusion. On the other hand using a common controller with some extra
&lt;br&gt;is_admin? checks can be a bit ugly. I know it all depends on how
&lt;br&gt;different the admin funcionality is.
&lt;br&gt;&lt;br&gt;But is there any opinions/experiences you could share on this issue?
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845834&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845834&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Namespaces-for-admin-fucntionality%2C-worth-the-effort--tp19845834p19845834.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19845712</id>
	<title>Re: Regular Expression pattern matching question...</title>
	<published>2008-10-06T13:25:18Z</published>
	<updated>2008-10-06T13:25:18Z</updated>
	<author>
		<name>Johannes J. Schmidt</name>
	</author>
	<content type="html">&lt;br&gt;eg /(\d+\.){0,1}\d+$/
&lt;br&gt;&lt;br&gt;g jo
&lt;br&gt;&lt;br&gt;Am Mittwoch, den 24.09.2008, 16:20 -0700 schrieb ressister:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi there, I'm trying to split a string using RegExp to extract a price
&lt;br&gt;&amp;gt; from it. &amp;nbsp;The price may or may not have a dollar sign in front of it
&lt;br&gt;&amp;gt; and may or may not contain a decimal value. &amp;nbsp;Below are some string
&lt;br&gt;&amp;gt; examples of what the regular expression would need to handle to split
&lt;br&gt;&amp;gt; out the price:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Example 1:
&lt;br&gt;&amp;gt; &amp;quot;2 starbuck's coffees 9.99&amp;quot; &amp;nbsp; &amp;nbsp;&amp;lt;- price is 9.99
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Example 2:
&lt;br&gt;&amp;gt; &amp;quot;99 red baloons 175&amp;quot; &amp;nbsp; &amp;lt;- price is 175
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Example 3:
&lt;br&gt;&amp;gt; &amp;quot;starbuck's coffee $9.99&amp;quot; &amp;nbsp;&amp;lt;- price is 9.99
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Example 4:
&lt;br&gt;&amp;gt; &amp;quot;starbucks coffee 9&amp;quot; &amp;nbsp; &amp;lt;- price is 9
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So the trouble is: a) in Example 3, I can't count on the dollar sign
&lt;br&gt;&amp;gt; being there all the time. &amp;nbsp;Some instances it will, other instances it
&lt;br&gt;&amp;gt; won't and b) in the case of Example 2, there may be a number at the
&lt;br&gt;&amp;gt; start of the string of indeterminate length that I want to ignore
&lt;br&gt;&amp;gt; since this could represent the quantity, not the price.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What would the RegExp look like that would split out the price?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt; -A
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845712&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845712&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Regular-Expression-pattern-matching-question...-tp19660038p19845712.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19845603</id>
	<title>Re: the performance debate</title>
	<published>2008-10-06T13:19:46Z</published>
	<updated>2008-10-06T13:19:46Z</updated>
	<author>
		<name>Maurício Linhares-3</name>
	</author>
	<content type="html">&lt;br&gt;Interesting to see that Raistlin itself can't answer these simple questions :)
&lt;br&gt;&lt;br&gt;Now, to the answers:
&lt;br&gt;&lt;br&gt;&amp;gt; Is Ruby faster than PHP?
&lt;br&gt;&lt;br&gt;No.
&lt;br&gt;&lt;br&gt;&amp;gt; Is Ruby on Rails faster than PHP on CakePHP?
&lt;br&gt;&lt;br&gt;No.
&lt;br&gt;&lt;br&gt;&amp;gt; Is Ruby on Rails faster than PHP?
&lt;br&gt;&lt;br&gt;No.
&lt;br&gt;&lt;br&gt;&amp;gt; Is Ruby faster than PHP on CakePHP?
&lt;br&gt;&lt;br&gt;No.
&lt;br&gt;&lt;br&gt;Easy, huh?
&lt;br&gt;&lt;br&gt;On Mon, Oct 6, 2008 at 12:36 PM, Raistlin Majere &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845603&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pedbessa@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is Ruby faster than PHP?
&lt;br&gt;&amp;gt; Is Ruby on Rails faster than PHP on CakePHP?
&lt;br&gt;&amp;gt; Is Ruby on Rails faster than PHP?
&lt;br&gt;&amp;gt; Is Ruby faster than PHP on CakePHP?
&lt;br&gt;&amp;gt; --~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Maurício Linhares
&lt;br&gt;&lt;a href=&quot;http://alinhavado.wordpress.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://alinhavado.wordpress.com/&lt;/a&gt;&amp;nbsp;(pt-br) | &lt;a href=&quot;http://blog.codevader.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.codevader.com/&lt;/a&gt;&amp;nbsp;(en)
&lt;br&gt;João Pessoa, PB, +55 83 8867-7208
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845603&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845603&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/the-performance-debate-tp19840390p19845603.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19845537</id>
	<title>Re: the performance debate</title>
	<published>2008-10-06T13:15:38Z</published>
	<updated>2008-10-06T13:15:38Z</updated>
	<author>
		<name>CPerry</name>
	</author>
	<content type="html">&lt;br&gt;I would almost guarantee that unless you are running the world
&lt;br&gt;(literally) with your application, it won't really matter which is
&lt;br&gt;faster or slower.
&lt;br&gt;&lt;br&gt;You should decide which is better or easier for your needs and base
&lt;br&gt;your decision on that, not on speed. Both PHP and Ruby ( and CakePHP
&lt;br&gt;and Rails for that matter) have their positives and negatives in
&lt;br&gt;several areas.
&lt;br&gt;&lt;br&gt;Without having an idea of what you kind of app you are building, there
&lt;br&gt;is NO WAY to know which is better, faster, stronger, easier, etc. for
&lt;br&gt;you. I can tell you this though...Rails will be much more ENJOYABLE,
&lt;br&gt;regardless of the app you are building.
&lt;br&gt;&lt;br&gt;Also, worry about speed, performance, and scaling when you have reason
&lt;br&gt;to worry about it.
&lt;br&gt;&lt;br&gt;--Cory
&lt;br&gt;&lt;br&gt;On Oct 6, 11:36 am, Raistlin Majere &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845537&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pedbe...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Is Ruby faster than PHP?
&lt;br&gt;&amp;gt; Is Ruby on Rails faster than PHP on CakePHP?
&lt;br&gt;&amp;gt; Is Ruby on Rails faster than PHP?
&lt;br&gt;&amp;gt; Is Ruby faster than PHP on CakePHP?
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845537&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845537&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/the-performance-debate-tp19840390p19845537.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19845510</id>
	<title>Re: Action_mailer_tls + Gmail</title>
	<published>2008-10-06T13:14:02Z</published>
	<updated>2008-10-06T13:14:02Z</updated>
	<author>
		<name>Andi Geheim</name>
	</author>
	<content type="html">&lt;br&gt;Done!!
&lt;br&gt;The problem was with the port 587 being blocked by the firewall.
&lt;br&gt;Thanks for your support!
&lt;br&gt;Guilherme
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845510&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845510&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Action_mailer_tls-%2B-Gmail-tp16868901p19845510.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19845414</id>
	<title>Re: zena CMS first public release !</title>
	<published>2008-10-06T13:07:35Z</published>
	<updated>2008-10-06T13:07:35Z</updated>
	<author>
		<name>gundestrup@gmail.com</name>
	</author>
	<content type="html">&lt;br&gt;+ is proberly better, unless you get into trubble, with ruby since +
&lt;br&gt;is an operator....
&lt;br&gt;&lt;br&gt;&lt;br&gt;regards
&lt;br&gt;svend
&lt;br&gt;&lt;br&gt;On Oct 6, 9:20 pm, Gaspard Bucher &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845414&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gasp...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; You are right, it's not smart.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What about the &amp;quot;+&amp;quot; sign ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PS: this is ticket #223 (&lt;a href=&quot;http://zena.lighthouseapp.com/projects/2549-zena/tickets/223&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zena.lighthouseapp.com/projects/2549-zena/tickets/223&lt;/a&gt;&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Gaspard
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 6 oct. 08, at 20:54, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845414&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gundest...@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I use, windows, osx, linux for development, just currently at my &amp;quot;¤&amp;quot;#
&lt;br&gt;&amp;gt; &amp;gt; ¤&amp;quot;%¤ Vista laptop...
&lt;br&gt;&amp;gt; &amp;gt; But still it's unsmart to have that type of filenames, they are bound
&lt;br&gt;&amp;gt; &amp;gt; to be trubble...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; But I am looking foward to play with it, more, when I get the time..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; regards
&lt;br&gt;&amp;gt; &amp;gt; svend
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Oct 6, 8:43 pm, Gaspard Bucher &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845414&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gasp...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Damn !
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I did not suspect that having stars &amp;quot;*&amp;quot; in the filenames would cause
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; such troubles. I cannot simply rename these files since the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; name is used as the template definition:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; [class]-[mode]-[format].zafu
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; An modes with &amp;quot;*&amp;quot; exist inside zena and are used to render special
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; pages (search result, admin layout, index page). The star is there so
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; that
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; these modes cannot be used to display arbitrary pages (ex. /
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; page43_*index.html will not work).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; You could try to use the archive until I find a better prefix that
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; does not cause these problems.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; The compressed version is at:&lt;a href=&quot;http://zenadmin.org/zena.tgz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zenadmin.org/zena.tgz&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Beware though that zena has never been used on a windows box before
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; and you might find lots of surprises like this one. To avoid loosing
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; time with installation issues, I would recommend installing a simple
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; debian box with vmware...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; I am having problems both with Git and SVN on Vista.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Both are install correct, the problem seems to come from the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; repository.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; This is the svn output:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; A    trunk\db\init
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; A    trunk\db\init\base
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; A    trunk\db\init\base\help.fr.zml
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; A    trunk\db\init\base\skins
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; A    trunk\db\init\base\skins\default
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; svn: Can't check path 'trunk\db\init\base\skins\default\Node-
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; *popupLayout.zafu':
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; The filename, directory name, or volume label syntax is incorrect.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; regards
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; svend
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; On Oct 6, 4:33 pm, Gaspard Bucher &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845414&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gasp...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Fun, source code to read!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; The code started with rails 0.9.x (end 2005) and some parts reflect
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; this old history...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Some interesting parts:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; lib/query_builder (pseudo sql query builder)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; lib/parser, lib/parser/lib/rules/zafu.rb (template parser)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; test/helpers/zena_parser/*.yml (yaml tests for templates)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; test/helpers/query_builder/*.yml (yaml tests for pseudo sql)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Do not hesitate to ask questions...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Gaspard
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Oct 6, 6:09 am, &amp;quot;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845414&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gundest...@...&lt;/a&gt;&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845414&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gundest...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; looks impressive.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I am looking foward to testing the CMS.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; regards
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; svend
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Oct 6, 10:09 am, &amp;quot;Gaspard Bucher&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845414&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gasp...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; After 3 years of work in my cave, I am happy to go out in the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sunlight
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to announce the first public beta release of zena !
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; In a few words:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Zena is a CMS based on ruby on rails with a very advanced xhtml
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; based
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; templating language called zafu. Sites have been running in
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; production
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mode for nearly 2 years now, so it's quite stable (more then  
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 1340
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; unit
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; tests).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; One of the most important architecture aspects of this CMS is  
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; that
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; is based on Single Table Inheritance with the ability to create
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; custom
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; classes from the web frontend.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; More information on this release in this post from the blog:&lt;a href=&quot;http://zenadmin.org/473&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zenadmin.org/473&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Videos:&lt;a href=&quot;http://zenadmin.org/426&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zenadmin.org/426&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I hope you enjoy...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Gaspard
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845414&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845414&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-ANN--zena-CMS-first-public-release-%21-tp19833601p19845414.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19845306</id>
	<title>Re: Before 2.2 RC1 is pushed</title>
	<published>2008-10-06T13:01:29Z</published>
	<updated>2008-10-06T13:01:29Z</updated>
	<author>
		<name>Frederick Cheung-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;On 6 Oct 2008, at 17:38, Pratik wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just sending this email to keep you guys in the loop as Rails 2.2 RC1
&lt;br&gt;&amp;gt; release is imminent. After the RC1 is release, no new features will be
&lt;br&gt;&amp;gt; committed to the 2.2 branch and the API will be frozen as well. It'll
&lt;br&gt;&amp;gt; all be about bug fixes then.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So before 2.2.RC1 is pushed, if you think any features should make it
&lt;br&gt;&amp;gt; in, please let your voices be heard. Same goes for any critical bug
&lt;br&gt;&amp;gt; fixes. If you have any pending patches that you want in 2.2, speak
&lt;br&gt;&amp;gt; now.
&lt;br&gt;&amp;gt;
&lt;/div&gt;There are a number of tickets to do with :include from a variety of &amp;nbsp;
&lt;br&gt;people that at least deserve a look at. I'll dig em up
&lt;br&gt;&lt;br&gt;Fred
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Cheers!
&lt;br&gt;&amp;gt; - Pratik
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://m.onkey.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://m.onkey.org&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845306&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19845306&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Core-f13832.html&quot; embed=&quot;fixTarget[13832]&quot; target=&quot;_top&quot; &gt;RubyOnRails Core&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Before-2.2-RC1-is-pushed-tp19841556p19845306.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19844882</id>
	<title>Apache2 + ISPConfig + Ruby on Rails</title>
	<published>2008-10-06T12:39:07Z</published>
	<updated>2008-10-06T12:39:07Z</updated>
	<author>
		<name>Andi Geheim</name>
	</author>
	<content type="html">&lt;br&gt;Hi
&lt;br&gt;&lt;br&gt;I'm trying to get ruby running on a Debian Linux server with ISPConfig
&lt;br&gt;and Apache.
&lt;br&gt;&lt;br&gt;I have tried many tutorials like:
&lt;br&gt;&lt;br&gt;1. &lt;a href=&quot;http://www.howtoforge.com/ruby_on_rails_apache2_fastcgi_debian_p6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.howtoforge.com/ruby_on_rails_apache2_fastcgi_debian_p6&lt;/a&gt;&lt;br&gt;2.
&lt;br&gt;&lt;a href=&quot;http://www.howtoforge.de/howto/verwendung-von-ruby-on-rails-mit-apache2-auf-debian-etch/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.howtoforge.de/howto/verwendung-von-ruby-on-rails-mit-apache2-auf-debian-etch/&lt;/a&gt;&lt;br&gt;3.
&lt;br&gt;&lt;a href=&quot;http://www.howtoforge.de/howto/linux/wie-man-mod_ruby-fur-die-verwendung-mit-ispconfig-2220-und-neuere-versionen-auf-verschiedenen-linux-distributionen-installiert/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.howtoforge.de/howto/linux/wie-man-mod_ruby-fur-die-verwendung-mit-ispconfig-2220-und-neuere-versionen-auf-verschiedenen-linux-distributionen-installiert/&lt;/a&gt;&lt;br&gt;&lt;br&gt;the ruby projekt is at var/www/web1/
&lt;br&gt;&lt;br&gt;the public folder is renamed into web (the apache root folder)
&lt;br&gt;&lt;br&gt;&lt;br&gt;If I connect to a *.rb file in var/www/web1/web/test.rb everything works
&lt;br&gt;out.
&lt;br&gt;&lt;br&gt;But if i connect to var/www/web/app/views/bla via
&lt;br&gt;&lt;a href=&quot;http://www.domain.xy/bla&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.domain.xy/bla&lt;/a&gt;&amp;nbsp;I get an webserver Error 503 (timeout)
&lt;br&gt;&lt;br&gt;What could be the reason for that?
&lt;br&gt;&lt;br&gt;Greetings Andi
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844882&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844882&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Apache2-%2B-ISPConfig-%2B-Ruby-on-Rails-tp19844882p19844882.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19844902</id>
	<title>Re: how do I get a Time for today at a specific hour?</title>
	<published>2008-10-06T12:38:57Z</published>
	<updated>2008-10-06T12:38:57Z</updated>
	<author>
		<name>Andi Geheim</name>
	</author>
	<content type="html">&lt;br&gt;opps -- my bad ...
&lt;br&gt;&lt;br&gt;Time.zone.today + 3.hours
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844902&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844902&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-do-I-get-a-Time-for-today-at-a-specific-hour--tp19844881p19844902.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19844973</id>
	<title>Re: how do I get a Time for today at a specific hour?</title>
	<published>2008-10-06T12:36:31Z</published>
	<updated>2008-10-06T12:36:31Z</updated>
	<author>
		<name>Andi Geheim</name>
	</author>
	<content type="html">&lt;br&gt;ok -- i think i've got it ...
&lt;br&gt;&lt;br&gt;&lt;br&gt;Time.zone.now + 3.hours
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Rich Sturim wrote:
&lt;br&gt;&amp;gt; I'm using Time Zones -- and would like to get a time for today at 3 am?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there something available like this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Time.zone.now.parse('03:00:00')
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844973&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844973&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-do-I-get-a-Time-for-today-at-a-specific-hour--tp19844881p19844973.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19844881</id>
	<title>how do I get a Time for today at a specific hour?</title>
	<published>2008-10-06T12:31:41Z</published>
	<updated>2008-10-06T12:31:41Z</updated>
	<author>
		<name>Andi Geheim</name>
	</author>
	<content type="html">&lt;br&gt;I'm using Time Zones -- and would like to get a time for today at 3 am?
&lt;br&gt;&lt;br&gt;Is there something available like this?
&lt;br&gt;&lt;br&gt;Time.zone.now.parse('03:00:00')
&lt;br&gt;-- 
&lt;br&gt;Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844881&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844881&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-do-I-get-a-Time-for-today-at-a-specific-hour--tp19844881p19844881.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19844539</id>
	<title>Re: zena CMS first public release !</title>
	<published>2008-10-06T12:20:50Z</published>
	<updated>2008-10-06T12:20:50Z</updated>
	<author>
		<name>Gaspard Bucher</name>
	</author>
	<content type="html">&lt;br&gt;You are right, it's not smart.
&lt;br&gt;&lt;br&gt;What about the &amp;quot;+&amp;quot; sign ?
&lt;br&gt;&lt;br&gt;PS: this is ticket #223 (&lt;a href=&quot;http://zena.lighthouseapp.com/projects/2549-zena/tickets/223&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zena.lighthouseapp.com/projects/2549-zena/tickets/223&lt;/a&gt;&amp;nbsp;
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;Gaspard
&lt;br&gt;&lt;br&gt;On 6 oct. 08, at 20:54, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844539&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gundestrup@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I use, windows, osx, linux for development, just currently at my &amp;quot;¤&amp;quot;#
&lt;br&gt;&amp;gt; ¤&amp;quot;%¤ Vista laptop...
&lt;br&gt;&amp;gt; But still it's unsmart to have that type of filenames, they are bound
&lt;br&gt;&amp;gt; to be trubble...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But I am looking foward to play with it, more, when I get the time..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; regards
&lt;br&gt;&amp;gt; svend
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Oct 6, 8:43 pm, Gaspard Bucher &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844539&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gasp...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Damn !
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I did not suspect that having stars &amp;quot;*&amp;quot; in the filenames would cause
&lt;br&gt;&amp;gt;&amp;gt; such troubles. I cannot simply rename these files since the
&lt;br&gt;&amp;gt;&amp;gt; name is used as the template definition:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [class]-[mode]-[format].zafu
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; An modes with &amp;quot;*&amp;quot; exist inside zena and are used to render special
&lt;br&gt;&amp;gt;&amp;gt; pages (search result, admin layout, index page). The star is there so
&lt;br&gt;&amp;gt;&amp;gt; that
&lt;br&gt;&amp;gt;&amp;gt; these modes cannot be used to display arbitrary pages (ex. /
&lt;br&gt;&amp;gt;&amp;gt; page43_*index.html will not work).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You could try to use the archive until I find a better prefix that
&lt;br&gt;&amp;gt;&amp;gt; does not cause these problems.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The compressed version is at:&lt;a href=&quot;http://zenadmin.org/zena.tgz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zenadmin.org/zena.tgz&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Beware though that zena has never been used on a windows box before
&lt;br&gt;&amp;gt;&amp;gt; and you might find lots of surprises like this one. To avoid loosing
&lt;br&gt;&amp;gt;&amp;gt; time with installation issues, I would recommend installing a simple
&lt;br&gt;&amp;gt;&amp;gt; debian box with vmware...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I am having problems both with Git and SVN on Vista.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Both are install correct, the problem seems to come from the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; repository.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This is the svn output:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; A &amp;nbsp; &amp;nbsp;trunk\db\init
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; A &amp;nbsp; &amp;nbsp;trunk\db\init\base
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; A &amp;nbsp; &amp;nbsp;trunk\db\init\base\help.fr.zml
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; A &amp;nbsp; &amp;nbsp;trunk\db\init\base\skins
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; A &amp;nbsp; &amp;nbsp;trunk\db\init\base\skins\default
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; svn: Can't check path 'trunk\db\init\base\skins\default\Node-
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; *popupLayout.zafu':
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The filename, directory name, or volume label syntax is incorrect.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; regards
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; svend
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Oct 6, 4:33 pm, Gaspard Bucher &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844539&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gasp...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Fun, source code to read!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The code started with rails 0.9.x (end 2005) and some parts reflect
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this old history...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Some interesting parts:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; lib/query_builder (pseudo sql query builder)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; lib/parser, lib/parser/lib/rules/zafu.rb (template parser)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; test/helpers/zena_parser/*.yml (yaml tests for templates)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; test/helpers/query_builder/*.yml (yaml tests for pseudo sql)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Do not hesitate to ask questions...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Gaspard
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Oct 6, 6:09 am, &amp;quot;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844539&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gundest...@...&lt;/a&gt;&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844539&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gundest...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; looks impressive.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I am looking foward to testing the CMS.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; regards
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; svend
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Oct 6, 10:09 am, &amp;quot;Gaspard Bucher&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844539&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gasp...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; After 3 years of work in my cave, I am happy to go out in the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sunlight
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to announce the first public beta release of zena !
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; In a few words:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Zena is a CMS based on ruby on rails with a very advanced xhtml
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; based
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; templating language called zafu. Sites have been running in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; production
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mode for nearly 2 years now, so it's quite stable (more then &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 1340
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; unit
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; tests).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; One of the most important architecture aspects of this CMS is &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; that
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; is based on Single Table Inheritance with the ability to create
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; custom
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; classes from the web frontend.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; More information on this release in this post from the blog:&lt;a href=&quot;http://zenadmin.org/473&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zenadmin.org/473&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Videos:&lt;a href=&quot;http://zenadmin.org/426&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zenadmin.org/426&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I hope you enjoy...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Gaspard
&lt;br&gt;&amp;gt; &amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844539&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844539&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-ANN--zena-CMS-first-public-release-%21-tp19833601p19844539.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19844502</id>
	<title>Re: Filter inheritance</title>
	<published>2008-10-06T12:19:40Z</published>
	<updated>2008-10-06T12:19:40Z</updated>
	<author>
		<name>Frederick Cheung-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;On Oct 6, 7:59 pm, Mark Ma &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844502&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rails-mailing-l...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; can anyone tell me how before filter can call the private method audit
&lt;br&gt;&amp;gt; which from the parent class ?
&lt;br&gt;&amp;gt; because the bank controller has a private method called audit, this one
&lt;br&gt;&amp;gt; should not be inheritance by VaultController, so how the before_filter
&lt;br&gt;&amp;gt; use the private method audit ?
&lt;br&gt;&amp;gt;
&lt;br&gt;First off, private/protected probably does not mean what you think it
&lt;br&gt;does (ie it's not the same as in C++ or java).
&lt;br&gt;For example:
&lt;br&gt;&lt;br&gt;class A
&lt;br&gt;&amp;nbsp; private
&lt;br&gt;&amp;nbsp; def a_private_method
&lt;br&gt;&amp;nbsp; &amp;nbsp; puts &amp;quot;hi&amp;quot;
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;&lt;br&gt;&amp;nbsp; protected
&lt;br&gt;&amp;nbsp; def a_protected_method
&lt;br&gt;&amp;nbsp; &amp;nbsp; puts &amp;quot;ho&amp;quot;
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;class B&amp;lt; A
&lt;br&gt;&amp;nbsp; def foo
&lt;br&gt;&amp;nbsp; &amp;nbsp; a_private_method
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;&lt;br&gt;&amp;nbsp; def bar
&lt;br&gt;&amp;nbsp; &amp;nbsp; A.new.a_private_method
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;&lt;br&gt;&amp;nbsp; def baz
&lt;br&gt;&amp;nbsp; &amp;nbsp; A.new.a_protected_method
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;B.new.foo #=&amp;gt; &amp;quot;hi&amp;quot;
&lt;br&gt;B.new.bar #=&amp;gt; NoMethodError: private method `a_private_method' called
&lt;br&gt;for #&amp;lt;A:0x6452c&amp;gt;
&lt;br&gt;B.new.baz #=&amp;gt; &amp;quot;ho&amp;quot;
&lt;br&gt;&lt;br&gt;On top of that, filters eventually use the send method, which ignores
&lt;br&gt;protected/privateness
&lt;br&gt;&lt;br&gt;Fred
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844502&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844502&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Filter-inheritance-tp19844105p19844502.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19844460</id>
	<title>Re: Rails console, saving objects</title>
	<published>2008-10-06T12:18:10Z</published>
	<updated>2008-10-06T12:18:10Z</updated>
	<author>
		<name>Philip Hallstrom-6</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;On Oct 5, 2008, at 7:22 PM, Raistlin Majere wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I was reading a book and following the instructions in it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; class Story &amp;lt; ActiveRecord::Base; end
&lt;br&gt;&amp;gt; =&amp;gt; nil
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; story = Story.new
&lt;br&gt;&amp;gt; =&amp;gt; #&amp;lt;Story id: nil, name: nil, url: nil, created_at: nil,
&lt;br&gt;&amp;gt; updated_at: nil&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; story.class
&lt;br&gt;&amp;gt; =&amp;gt; Story(id: integer, name: string, link: string,
&lt;br&gt;&amp;gt; created_at: datetime, updated_at: datetime)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I do not remember me asking for id, name, link or url, created_at and
&lt;br&gt;&amp;gt; updated_at.
&lt;/div&gt;&lt;br&gt;At some point you must have created a &amp;quot;stories&amp;quot; table in your database &amp;nbsp;
&lt;br&gt;with those fields. &amp;nbsp;Rails (technically ActiveRecord) finds this based &amp;nbsp;
&lt;br&gt;on the name of your class (singular version of the table by default).
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; I do know if I typed craeted_at instead of created_at or
&lt;br&gt;&amp;gt; updetad_at instead of updated_at. How do I check whether i typed it
&lt;br&gt;&amp;gt; right or wrong?
&lt;br&gt;&lt;br&gt;It should complain about the method not being there.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; From the Rails console, I had to create a story class, one instance of
&lt;br&gt;&amp;gt; it and save the object, but I created two, so I got a 2 output for a
&lt;br&gt;&amp;gt; story.id input. How do I remove the second object from the database?
&lt;br&gt;&lt;br&gt;Story.destroy(2)
&lt;br&gt;&lt;br&gt;Note that that '2' is the *id* of the record you want to remove. &amp;nbsp;Has &amp;nbsp;
&lt;br&gt;nothing to do with it being the 'second' object.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Talk&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844460&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19844460&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-talk+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-talk?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-talk?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/RubyOnRails-Users-f13831.html&quot; embed=&quot;fixTarget[13831]&quot; target=&quot;_top&quot; &gt;RubyOnRails Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Rails-console%2C-saving-objects-tp19831167p19844460.html" />
</entry>

</feed>
