<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13830</id>
	<title>Nabble - Ruby on Rails</title>
	<updated>2009-11-11T13:25:31Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Ruby-on-Rails-f13830.xml" />
	<link rel="alternate" type="text/html" href="http://old.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:old.nabble.com,2006:post-26308934</id>
	<title>Re: getting the timezone name from an abbreviation</title>
	<published>2009-11-11T13:25:31Z</published>
	<updated>2009-11-11T13:25:31Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;dewdrops wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; hmmm .. true &amp;nbsp;but what if you are accepting an email from the user to
&lt;br&gt;&amp;gt; set the task in your calendar app??
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The only othe option is somehow get the 'email sender's' IP to place
&lt;br&gt;&amp;gt; him in some timezone or
&lt;br&gt;&amp;gt; Try to get the time from the email but all i got was the datetime of
&lt;br&gt;&amp;gt; the email server they sent the email from (eg gmail etc).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any suggestions on this issue??
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Nov 11, 2:24�am, Marnen Laibow-Koser &amp;lt;rails-mailing-l...@andreas-
&lt;/div&gt;&lt;br&gt;A possible solution is to ask your users what their local time zone is 
&lt;br&gt;using the time zone select helper. Then store that value in their user 
&lt;br&gt;record. Then assume all times are in the time zone that you store for 
&lt;br&gt;them.
&lt;br&gt;&lt;br&gt;Dealing with time zones is not a trivial issue and you won't be able to 
&lt;br&gt;rely on time zone names or abbreviations. As mentioned earlier, users 
&lt;br&gt;will probably not even know what to enter anyway.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308934&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308934&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://old.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://old.nabble.com/getting-the-timezone-name-from-an-abbreviation-tp26283355p26308934.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26308882</id>
	<title>Re: Render :action and routes problem with cucumber scenario</title>
	<published>2009-11-11T13:22:16Z</published>
	<updated>2009-11-11T13:22:16Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi, this is how I fixed it. Not sure if it is the best way but cucumber 
&lt;br&gt;passes and the &amp;quot;real&amp;quot; application also behaves as expected.
&lt;br&gt;&lt;br&gt;Scenario:
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;And I press &amp;quot;Login&amp;quot;
&lt;br&gt;Then I must be on the login page &amp;lt;--- this won't use the webrat default 
&lt;br&gt;step
&lt;br&gt;And I should see &amp;quot;Your account has not been activated yet.&amp;quot;
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&lt;br&gt;Then I have define a step where I actually tell the expected route:
&lt;br&gt;&lt;br&gt;Then /^I must be on (.+)$/ do |page_name|
&lt;br&gt;&amp;nbsp; URI.parse(current_url).path.should == &amp;quot;/user_session&amp;quot;
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;Cheers.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308882&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308882&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://old.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://old.nabble.com/Render-%3Aaction-and-routes-problem-with-cucumber-scenario-tp26299958p26308882.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26308640</id>
	<title>Re: super noob looking for help</title>
	<published>2009-11-11T13:06:16Z</published>
	<updated>2009-11-11T13:06:16Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Brian wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt; I've just started to play around on Ruby and have read some tutorials,
&lt;br&gt;&amp;gt; books, and Why's guide. &amp;nbsp;I do understand syntax of coding, or at least
&lt;br&gt;&amp;gt; that within the controller, but I have limited web programming
&lt;br&gt;&amp;gt; experience, so the view is giving me some problems. &amp;nbsp;So here is the
&lt;br&gt;&amp;gt; issue,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a database of wines, that i'd like to be able to select by the
&lt;br&gt;&amp;gt; producer, and then those the associated wines. &amp;nbsp;I thought this would
&lt;br&gt;&amp;gt; work, but I keep getting the 'Couldn't find Wine with ID=Show' error.
&lt;br&gt;&amp;gt; Any help and or pointers on this would be great. &amp;nbsp;Thanks a ton!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; from view:
&lt;br&gt;&amp;gt; &amp;lt;% form_for @wines, :url =&amp;gt; { :action =&amp;gt; 'Show' } do |f| %&amp;gt;
&lt;/div&gt;&lt;br&gt;&amp;lt;% form_for @wines, :url =&amp;gt; { :action =&amp;gt; 'show' } do |f| %&amp;gt;
&lt;br&gt;The action name is 'show' not 'Show'
&lt;br&gt;&lt;br&gt;The 'show' action is for displaying the details of one item, yet you 
&lt;br&gt;have @wines (a collection) in your form_for.
&lt;br&gt;&lt;br&gt;&amp;lt;% form_for @wine do |f| %&amp;gt;
&lt;br&gt;&lt;br&gt;This syntax would take care of everything for showing the detail view 
&lt;br&gt;via the 'show' action.
&lt;br&gt;&lt;br&gt;In your case it sounds like you might be trying to make a search form. 
&lt;br&gt;If that's the case you probably shouldn't be using form_for anyway, but 
&lt;br&gt;rather form_tag.
&lt;br&gt;&lt;br&gt;Have you read though the Rails Guide on form helpers?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://guides.rubyonrails.org/form_helpers.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://guides.rubyonrails.org/form_helpers.html&lt;/a&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308640&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308640&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://old.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://old.nabble.com/super-noob-looking-for-help-tp26306273p26308640.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26308478</id>
	<title>Re: Trading Google Wave invites for host!</title>
	<published>2009-11-11T12:56:21Z</published>
	<updated>2009-11-11T12:56:21Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Aldric Giacomoni wrote:
&lt;br&gt;&amp;gt; Tim Mcd wrote:
&lt;br&gt;&amp;gt;&amp;gt; Trading up to 10 google wave invites for a fast, powerful Rails host [...]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Not a bad idea, but I don't think the market value is that high. I could 
&lt;br&gt;&amp;gt; be wrong, of course.
&lt;br&gt;&lt;br&gt;I'm hoping it is. xD
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308478&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308478&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://old.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://old.nabble.com/Trading-Google-Wave-invites-for-host%21-tp26305025p26308478.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26308056</id>
	<title>Re: Preserving has_many :through ids assignment order</title>
	<published>2009-11-11T12:32:13Z</published>
	<updated>2009-11-11T12:32:13Z</updated>
	<author>
		<name>Matt Jones</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;On Nov 10, 2009, at 7:01 PM, dasil003 wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; :order =&amp;gt; 'id ASC' on the association that the has_many :through is
&lt;br&gt;&amp;gt; going through.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In MySQL incidentally will usually give you this by default.
&lt;br&gt;&lt;br&gt;&amp;quot;Usually&amp;quot; being the key word. In your case, it isn't doing that, as &amp;nbsp;
&lt;br&gt;all that the find() call is doing is generating a query like:
&lt;br&gt;&lt;br&gt;SELECT * FROM table_name WHERE id IN (x,y,z,etc)
&lt;br&gt;&lt;br&gt;If those records aren't coming back in the order you expect, that's &amp;nbsp;
&lt;br&gt;not Rails's fault...
&lt;br&gt;&lt;br&gt;--Matt Jones
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308056&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26308056&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://old.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://old.nabble.com/Preserving-has_many-%3Athrough-ids-assignment-order-tp26293117p26308056.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307615</id>
	<title>getaddrinfo: nodename nor servname provided, or not known</title>
	<published>2009-11-11T12:02:08Z</published>
	<updated>2009-11-11T12:02:08Z</updated>
	<author>
		<name>RubyonRails_newbie</name>
	</author>
	<content type="html">&lt;br&gt;Hi there,
&lt;br&gt;&lt;br&gt;If I want to create email within my application (in production), how
&lt;br&gt;is this best achieved??
&lt;br&gt;&lt;br&gt;Following the railsspace tutorial, it only really suggests to
&lt;br&gt;use :smtp.
&lt;br&gt;&lt;br&gt;I'd read on another site that to generate emails locally, i need to
&lt;br&gt;use :sendmail instead... However - I havent seen any decent examples
&lt;br&gt;of how to get this configured to be able to send emails within my
&lt;br&gt;local area.
&lt;br&gt;&lt;br&gt;Within my email_controller I have the following code:
&lt;br&gt;&amp;nbsp; def remind
&lt;br&gt;&amp;nbsp; &amp;nbsp; @title = &amp;quot;Send me my login information&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; if param_posted?(:user)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; email = params[:user][:email]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; user = User.find_by_email(email)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if user
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; UserMailer.deliver_reminder(user)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; flash[:notice] = &amp;quot;Login information was sent.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; redirect_to :action =&amp;gt; &amp;quot;index&amp;quot;, :controller =&amp;gt; &amp;quot;site&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; flash[:notice] = &amp;quot;There is no user with that email address.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; end
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; end
&lt;br&gt;&lt;br&gt;In environment.rb I have:
&lt;br&gt;ActionMailer::Base.delivery_method = :sendmail
&lt;br&gt;&lt;br&gt;and at the top of the same file I have:
&lt;br&gt;ENV['RAILS_ENV'] ||= 'production'
&lt;br&gt;&lt;br&gt;When I try and enter an email address into the form:
&lt;br&gt;I tget an error back:
&lt;br&gt;&lt;br&gt;SocketError in EmailController#remind
&lt;br&gt;getaddrinfo: nodename nor servname provided, or not known
&lt;br&gt;&lt;br&gt;&lt;br&gt;Has anyone else experienced this, and how do you get it up and
&lt;br&gt;running?
&lt;br&gt;Many Thanks
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307615&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307615&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://old.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://old.nabble.com/getaddrinfo%3A-nodename-nor-servname-provided%2C-or-not-known-tp26307615p26307615.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307457</id>
	<title>Re: Designing a &quot;community rating&quot; system</title>
	<published>2009-11-11T11:53:40Z</published>
	<updated>2009-11-11T11:53:40Z</updated>
	<author>
		<name>Joe-274</name>
	</author>
	<content type="html">&lt;br&gt;That is something different, for a given type of model users can rate
&lt;br&gt;it. &amp;nbsp;So for a blog system other users could rate each post.
&lt;br&gt;&lt;br&gt;I need something more advanced, ratings (community standing, more
&lt;br&gt;accurately) are driven by how a user behaves in the system.
&lt;br&gt;&lt;br&gt;For example on Yahoo! Answers you get points for signing up, for
&lt;br&gt;answering questions, having your answer selected as the best answer,
&lt;br&gt;etc.
&lt;br&gt;&lt;br&gt;Joe
&lt;br&gt;&lt;br&gt;On Nov 11, 10:42 am, Marnen Laibow-Koser &amp;lt;rails-mailing-l...@andreas-
&lt;br&gt;s.net&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Joe wrote:
&lt;br&gt;&amp;gt; &amp;gt; I haven't seen any plugins that do this sort of thing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; acts_as_rated?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best,
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Marnen Laibow-Koserhttp://www.marnen.org
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307457&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mar...@...&lt;/a&gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Posted viahttp://www.ruby-forum.com/.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307457&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307457&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://old.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://old.nabble.com/Designing-a-%22community-rating%22-system-tp26294422p26307457.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307398</id>
	<title>Re: Trading Google Wave invites for host!</title>
	<published>2009-11-11T11:49:19Z</published>
	<updated>2009-11-11T11:49:19Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Tim Mcd wrote:
&lt;br&gt;&amp;gt; Trading up to 10 google wave invites for a fast, powerful Rails host [...]
&lt;br&gt;&lt;br&gt;Not a bad idea, but I don't think the market value is that high. I could 
&lt;br&gt;be wrong, of course.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307398&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307398&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://old.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://old.nabble.com/Trading-Google-Wave-invites-for-host%21-tp26305025p26307398.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307072</id>
	<title>no such file to load -- ferret, solaris, acts_as_ferret</title>
	<published>2009-11-11T11:26:20Z</published>
	<updated>2009-11-11T11:26:20Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I am setting up a new environment (on a vps) that runs Open Solaris. &amp;nbsp;I
&lt;br&gt;know, why am I using Solaris? &amp;nbsp;Don't ask.
&lt;br&gt;&lt;br&gt;I have a nearly identical vps for which my capistrano script works
&lt;br&gt;perfectly to deploy my app. &amp;nbsp;However, on my new server I am getting the
&lt;br&gt;following errors:
&lt;br&gt;&lt;br&gt;* executing &amp;quot;cd /home/visaintegration/Sites/vbn/current;
&lt;br&gt;script/ferret_server -e production stop || true&amp;quot; servers:
&lt;br&gt;[&amp;quot;dev.visabusinessnetwork.com&amp;quot;] [dev.visabusinessnetwork.com] executing
&lt;br&gt;command
&lt;br&gt;&lt;br&gt;*** [err :: dev.visabusinessnetwork.com] no such file to load -- ferret
&lt;br&gt;command finished
&lt;br&gt;&lt;br&gt;AND
&lt;br&gt;&lt;br&gt;* executing &amp;quot;cd /home/visaintegration/Sites/vbn/current;
&lt;br&gt;script/ferret_server -e production start&amp;quot; servers:
&lt;br&gt;[&amp;quot;dev.visabusinessnetwork.com&amp;quot;] [dev.visabusinessnetwork.com] executing
&lt;br&gt;command
&lt;br&gt;&lt;br&gt;*** [err :: dev.visabusinessnetwork.com] no such file to load -- ferret
&lt;br&gt;command finished failed: &amp;quot;sh -c 'cd
&lt;br&gt;/home/visaintegration/Sites/vbn/current; script/ferret_server -e
&lt;br&gt;production start'&amp;quot; on dev.visabusinessnetwork.com
&lt;br&gt;&lt;br&gt;dir : /home/visastage/.cruise/projects/vbn40cideploy/work command : cap
&lt;br&gt;deploy executed command : echo
&lt;br&gt;/home/visastage/.cruise/projects/vbn40cideploy/work $ cap deploy &amp;gt;&amp;gt;
&lt;br&gt;/home/visastage/.cruise/projects/vbn40cideploy/build-4210/build.log &amp;&amp;
&lt;br&gt;cap deploy &amp;gt;&amp;gt;
&lt;br&gt;/home/visastage/.cruise/projects/vbn40cideploy/build-4210/build.log 2&amp;gt;&amp;1
&lt;br&gt;exitstatus: 1 STDERR TAIL START
&lt;br&gt;&lt;br&gt;&lt;br&gt;However, if I run the same command from the server, they work perfectly.
&lt;br&gt;&lt;br&gt;Any help would be greatly appreciated.
&lt;br&gt;&lt;br&gt;Thank you in advance,
&lt;br&gt;Sam
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307072&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307072&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://old.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://old.nabble.com/no-such-file-to-load----ferret%2C-solaris%2C-acts_as_ferret-tp26307072p26307072.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307047</id>
	<title>Re: Trading Google Wave invites for host!</title>
	<published>2009-11-11T11:24:44Z</published>
	<updated>2009-11-11T11:24:44Z</updated>
	<author>
		<name>Eric Hill-3</name>
	</author>
	<content type="html">&lt;br&gt;Not OK.
&lt;br&gt;&lt;br&gt;On Nov 11, 9:16 am, Tim Mcd &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307047&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; Trading up to 10 google wave invites for a fast, powerful Rails host
&lt;br&gt;&amp;gt; that provides me with a top level domain: ie: webwebwebwebweb.com or
&lt;br&gt;&amp;gt; wwwww.com
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Or similar offers. Send me an email or post here.
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Posted viahttp://www.ruby-forum.com/.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307047&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307047&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://old.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://old.nabble.com/Trading-Google-Wave-invites-for-host%21-tp26305025p26307047.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307015</id>
	<title>RubyGem version error: rack(0.3.0 not ~&gt; 1.0.0) on deploy</title>
	<published>2009-11-11T11:22:58Z</published>
	<updated>2009-11-11T11:22:58Z</updated>
	<author>
		<name>Luciano-30</name>
	</author>
	<content type="html">&lt;br&gt;Hello there!
&lt;br&gt;&lt;br&gt;I'm trying to deploy a application, but capistrano gives me the
&lt;br&gt;following error:
&lt;br&gt;&lt;br&gt;*** [err :: my-domain.com] rake aborted!
&lt;br&gt;*** [err :: my-domain.com] RubyGem version error: rack(0.3.0 not ~&amp;gt;
&lt;br&gt;1.0.0)
&lt;br&gt;*** [err :: my-domain.com]
&lt;br&gt;&lt;br&gt;it's strange because I freeze my application before deploy with:
&lt;br&gt;&lt;br&gt;rake rails:freeze:gems
&lt;br&gt;rake gems:unpack
&lt;br&gt;&lt;br&gt;does anybody have an advice here?
&lt;br&gt;&lt;br&gt;thanks a lot!
&lt;br&gt;&lt;br&gt;Luciano
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307015&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307015&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://old.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://old.nabble.com/RubyGem-version-error%3A-rack%280.3.0-not-%7E%3E-1.0.0%29-on-deploy-tp26307015p26307015.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306869</id>
	<title>Re: Error: uninitialized constant MysqlCompat::MysqlRes</title>
	<published>2009-11-11T11:12:06Z</published>
	<updated>2009-11-11T11:12:06Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;grosser.michael wrote:
&lt;br&gt;&amp;gt; had the same, switching to 2.7 helps
&lt;br&gt;&amp;gt; sudo gem install mysql -v 2.7
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 22 Okt., 17:33, Caleb Cullen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306869&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rails-mailing-l...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;I was able to install the mysql v. 2.7 gem on a macport mysql version 
&lt;br&gt;with:
&lt;br&gt;&lt;br&gt;sudo gem install -v 2.7 --no-rdoc --no-ri mysql -- 
&lt;br&gt;--with-mysql-dir=/opt/local/lib/mysql5 
&lt;br&gt;--with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config;
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306869&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306869&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://old.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://old.nabble.com/Error%3A-uninitialized-constant-MysqlCompat%3A%3AMysqlRes-tp24761537p26306869.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306847</id>
	<title>Re: Sessions</title>
	<published>2009-11-11T11:10:33Z</published>
	<updated>2009-11-11T11:10:33Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Dave English wrote:
&lt;br&gt;&amp;gt; I'm an experienced programmer, but new to Rails.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would like to echo an unanswered question I've recently read
&lt;br&gt;&amp;gt; elsewhere.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can any recommend an overview of get/post, cookies, sessions, etc.,
&lt;br&gt;&amp;gt; and how Ruby on Rails interacts with all of this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm interested in understanding how to harden a Rails application
&lt;br&gt;&lt;br&gt;Do you need to? The framework already plugs a lot of common loopholes 
&lt;br&gt;(provided the app doesn't do stupid things). &amp;nbsp;See if Rails is already 
&lt;br&gt;doing what you need.
&lt;br&gt;&lt;br&gt;Also check out &lt;a href=&quot;http://www.rorsecurity.info&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.rorsecurity.info&lt;/a&gt;&amp;nbsp;.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Dave
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;--
&lt;br&gt;Marnen Laibow-Koser
&lt;br&gt;&lt;a href=&quot;http://www.marnen.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.marnen.org&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306847&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marnen@...&lt;/a&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306847&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306847&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://old.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://old.nabble.com/Sessions-tp26298243p26306847.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306820</id>
	<title>Re: Master/detail report with Rails and Ireport/JasperReports</title>
	<published>2009-11-11T11:08:27Z</published>
	<updated>2009-11-11T11:08:27Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi Davi,
&lt;br&gt;how could I contact you?
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306820&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306820&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://old.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://old.nabble.com/Master-detail-report-with-Rails-and-Ireport-JasperReports-tp26282944p26306820.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306757</id>
	<title>Re: host_with_port in config/environment.rb</title>
	<published>2009-11-11T11:03:53Z</published>
	<updated>2009-11-11T11:03:53Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Frederick Cheung wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Nov 11, 4:19�pm, Enrico Mail &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306757&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rails-mailing-l...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; and to do so I must change config/environment.rb,but in this file tell
&lt;br&gt;&amp;gt;&amp;gt; me that the request.host_with_port method is undefined...help me :(
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; host_with_port is an instance method on an individual request - you
&lt;br&gt;&amp;gt; can't call it if you are not in the presence of an individual
&lt;br&gt;&amp;gt; request.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Fred
&lt;/div&gt;&lt;br&gt;ok but if i use this method so:
&lt;br&gt;&lt;br&gt;line50:$hostname= request.host_with_port
&lt;br&gt;line51:CASClient::Frameworks::Rails::Filter.configure(
&lt;br&gt;line52:...
&lt;br&gt;line53: :logout_url &amp;nbsp; &amp;nbsp;=&amp;gt;
&lt;br&gt;line54: &amp;quot;&lt;a href=&quot;https://myservercas/logout?service=http://#&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://myservercas/logout?service=http://#&lt;/a&gt;{$hostname}&amp;quot;,
&lt;br&gt;line55:...
&lt;br&gt;line56:)
&lt;br&gt;&lt;br&gt;gives me the same error(undefined method request...at line50).I'm in the 
&lt;br&gt;presence of a request here.I couldn't use &amp;quot;request&amp;quot; and &amp;quot;host_with_port&amp;quot; 
&lt;br&gt;in environment.rb,because they are undefined.Why? :(
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306757&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306757&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://old.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://old.nabble.com/host_with_port-in-config-environment.rb-tp26300195p26306757.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306740</id>
	<title>Re: possible to set flash within link_to?</title>
	<published>2009-11-11T11:03:05Z</published>
	<updated>2009-11-11T11:03:05Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Eric wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;%= (link_to &amp;quot;SEND&amp;quot;, {:controller =&amp;gt; &amp;quot;company&amp;quot;, :action =&amp;gt; &amp;quot;show&amp;quot;, :id
&lt;br&gt;&amp;gt;&amp;gt; =&amp;gt; current_company.id}) %&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If a flash is set in that code snippet, I sure can't find it.
&lt;br&gt;&lt;br&gt;Right, thanks Eric. that's why i'm asking the question, because i want 
&lt;br&gt;to know how to set the flash in the above code snippet, and therefore 
&lt;br&gt;add to it.
&lt;br&gt;&lt;br&gt;Maybe you're right though, i should have put my half-baked attempt at 
&lt;br&gt;doing so in the example. However, it's pretty clear whatever variable 
&lt;br&gt;you assign to in a link_to becomes available in the params hash, I don't 
&lt;br&gt;see how'd you add to the flash hash.
&lt;br&gt;&lt;br&gt;Anyways, the temporary, possibly ugly solution, I'm using is to add a 
&lt;br&gt;param to the link_to, check for the param in the action, and if present, 
&lt;br&gt;add to the flash. If there is a better way to do it, please let me know.
&lt;br&gt;&lt;br&gt;Currently in view:
&lt;br&gt;&amp;lt;%= (link_to &amp;quot;VIEW&amp;quot;, :controller =&amp;gt; &amp;quot;company&amp;quot;, :action =&amp;gt; &amp;quot;show&amp;quot;, :id =&amp;gt; 
&lt;br&gt;current_company.id, :output_flash =&amp;gt; &amp;quot;yep&amp;quot;) %&amp;gt;
&lt;br&gt;&lt;br&gt;in controller, show method:
&lt;br&gt;flash[:notice] = &amp;quot;blah blah blah&amp;quot; if params[:output_flash] == &amp;quot;yep&amp;quot;
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306740&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306740&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://old.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://old.nabble.com/possible-to-set-flash-within-link_to--tp26294362p26306740.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306525</id>
	<title>Re: Mod_Rails question</title>
	<published>2009-11-11T10:49:57Z</published>
	<updated>2009-11-11T10:49:57Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Penguin Junior wrote:
&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm deploying a RoR app under Apache with Phusion Passenger (aka'
&lt;br&gt;&amp;gt; mod_rails), but i rode at &lt;a href=&quot;http://www.modrails.com/documentation.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.modrails.com/documentation.html&lt;/a&gt;&lt;br&gt;&amp;gt; that isn't good idea use it for a producction server.
&lt;br&gt;&lt;br&gt;You misread that page. &amp;nbsp;That page correctly states that mod_ruby is not 
&lt;br&gt;suitable for production hosting of Rails apps. &amp;nbsp;However, mod_ruby has 
&lt;br&gt;absolutely nothing to do with Passenger (mod_rails).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I was searching, and i got a lot of opinions about use/not use for
&lt;br&gt;&amp;gt; production, the most negative opinions are around 2007/2008.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I want to know if Phusion Passenger give the needed stability and
&lt;br&gt;&amp;gt; security for use it at production server.
&lt;br&gt;&lt;br&gt;Yes, absolutely! &amp;nbsp; I recommend Passenger very highly.
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;--
&lt;br&gt;Marnen Laibow-Koser
&lt;br&gt;&lt;a href=&quot;http://www.marnen.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.marnen.org&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306525&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marnen@...&lt;/a&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306525&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306525&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://old.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://old.nabble.com/Mod_Rails-question-tp26303004p26306525.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306501</id>
	<title>Re: Issues with rails_authentication --include-activation</title>
	<published>2009-11-11T10:48:15Z</published>
	<updated>2009-11-11T10:48:15Z</updated>
	<author>
		<name>Rick-13</name>
	</author>
	<content type="html">&lt;br&gt;If you specify :student_observer your &amp;quot;script/generate&amp;quot; should be:
&lt;br&gt;&lt;br&gt;script/generate authenticated student sessions --include-activation
&lt;br&gt;&lt;br&gt;NOTE: student not students
&lt;br&gt;&lt;br&gt;On Nov 8, 8:54 pm, salamander &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306501&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brooh...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So I installed the restful_authenticaiton plugin on an empty rails
&lt;br&gt;&amp;gt; 2.3.4 project.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ script/plugin install restful_authentication
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Generated files using &amp;quot;Students&amp;quot; as my model (instead of the often-
&lt;br&gt;&amp;gt; used &amp;quot;Users&amp;quot;). Note that I've added the --include-activation flag.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ ./script/generate authenticated students sessions --include-
&lt;br&gt;&amp;gt; activation
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And after editing my environment.rb with the line:
&lt;br&gt;&amp;gt; config.active_record.observers = :student_observer # or whatever you
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I get the following output when trying to run script/server
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ ./script/server =&amp;gt; Booting WEBrick =&amp;gt; Rails 2.3.4 application
&lt;br&gt;&amp;gt; starting onhttp://0.0.0.0:3000/Library/Ruby/Gems/1.8/gems/
&lt;br&gt;&amp;gt; activesupport-2.3.4/lib/active_support/dependencies.rb:443:in
&lt;br&gt;&amp;gt; load_missing_constant': uninitialized constant StudentObserver
&lt;br&gt;&amp;gt; (NameError)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/dependencies.rb:80:in `const_missing'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/dependencies.rb:92:in `const_missing'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/inflector.rb:361:in `constantize'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/inflector.rb:360:in `each'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/inflector.rb:360:in `constantize'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/core_ext/string/inflections.rb:162:in `constantize'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
&lt;br&gt;&amp;gt; observer.rb:38:in `instantiate_observers'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
&lt;br&gt;&amp;gt; observer.rb:36:in `each'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/
&lt;br&gt;&amp;gt; observer.rb:36:in `instantiate_observers'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/
&lt;br&gt;&amp;gt; action_controller/dispatcher.rb:15:in `define_dispatcher_callbacks'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/callbacks.rb:182:in `call'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/callbacks.rb:182:in `evaluate_method'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/callbacks.rb:166:in `call'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/callbacks.rb:90:in `run'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/callbacks.rb:90:in `each'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/callbacks.rb:90:in `send'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/callbacks.rb:90:in `run'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/callbacks.rb:276:in `run_callbacks'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/
&lt;br&gt;&amp;gt; action_controller/dispatcher.rb:51:in `send'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/
&lt;br&gt;&amp;gt; action_controller/dispatcher.rb:51:in `run_prepare_callbacks'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:631:in
&lt;br&gt;&amp;gt; `prepare_dispatcher'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:185:in
&lt;br&gt;&amp;gt; `process'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in
&lt;br&gt;&amp;gt; `send'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in
&lt;br&gt;&amp;gt; `run'
&lt;br&gt;&amp;gt; from /Users/aarz/Sites/50forthefuture/branches/heroku3/config/
&lt;br&gt;&amp;gt; environment.rb:9
&lt;br&gt;&amp;gt; from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
&lt;br&gt;&amp;gt; `gem_original_require'
&lt;br&gt;&amp;gt; from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/dependencies.rb:156:in `require'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/dependencies.rb:521:in `new_constants_in'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/
&lt;br&gt;&amp;gt; active_support/dependencies.rb:156:in `require'
&lt;br&gt;&amp;gt; from /Library/Ruby/Gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:84
&lt;br&gt;&amp;gt; from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
&lt;br&gt;&amp;gt; `gem_original_require'
&lt;br&gt;&amp;gt; from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
&lt;br&gt;&amp;gt; from ./script/server:3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What step might I have missed to get this error?
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306501&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306501&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://old.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://old.nabble.com/Issues-with-rails_authentication---include-activation-tp26260207p26306501.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306412</id>
	<title>Re: Designing a &quot;community rating&quot; system</title>
	<published>2009-11-11T10:42:14Z</published>
	<updated>2009-11-11T10:42:14Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Joe wrote:
&lt;br&gt;&amp;gt; I haven't seen any plugins that do this sort of thing.
&lt;br&gt;&lt;br&gt;acts_as_rated?
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;--
&lt;br&gt;Marnen Laibow-Koser
&lt;br&gt;&lt;a href=&quot;http://www.marnen.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.marnen.org&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306412&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marnen@...&lt;/a&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306412&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306412&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://old.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://old.nabble.com/Designing-a-%22community-rating%22-system-tp26294422p26306412.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306304</id>
	<title>Transaction blocks and error handling...</title>
	<published>2009-11-11T10:35:00Z</published>
	<updated>2009-11-11T10:35:00Z</updated>
	<author>
		<name>Otto Hemmi</name>
	</author>
	<content type="html">&lt;br&gt;I have a question about transaction blocks and error handling.
&lt;br&gt;&lt;br&gt;I have an big_object that has an array of other_objects.
&lt;br&gt;&lt;br&gt;So i'm updating these objects from user input and i wrap the whole
&lt;br&gt;thing in a transaction, go through each of the objects verify they are
&lt;br&gt;valid and then save them if they are if they aren't rollback
&lt;br&gt;transaction and jump back to the page and let the user correct their
&lt;br&gt;mistake.
&lt;br&gt;&lt;br&gt;#something like...
&lt;br&gt;ActiveRecord::Base.transaction do
&lt;br&gt;&amp;nbsp; #update big_object
&lt;br&gt;&amp;nbsp; for other_objects in big_object do |other_object|
&lt;br&gt;&amp;nbsp; &amp;nbsp; #update other_object
&lt;br&gt;&amp;nbsp; &amp;nbsp; unless other_object.valid?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; #oops! looks like my input validations are bad, abort!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; raise ActiveRecord::Rollback
&lt;br&gt;&amp;nbsp; &amp;nbsp; end
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;&amp;nbsp; big_object.save!
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;So when i roll back, i throw it back to the page and give the user
&lt;br&gt;some feed back and a chance to correct their mistake. The problem is
&lt;br&gt;the object is in a bad state here, it thinks it is saved. So the
&lt;br&gt;second time my update function is run it goes through says &amp;quot;hey this
&lt;br&gt;time everything is awesome, lets save&amp;quot; and nothing gets saved to the
&lt;br&gt;database.
&lt;br&gt;I know transactions don't rollback the @objects that are inside of
&lt;br&gt;them, any suggestions for got error handling in this situation?
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306304&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306304&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://old.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://old.nabble.com/Transaction-blocks-and-error-handling...-tp26306304p26306304.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26305862</id>
	<title>Re: host_with_port in config/environment.rb</title>
	<published>2009-11-11T10:07:27Z</published>
	<updated>2009-11-11T10:07:27Z</updated>
	<author>
		<name>Frederick Cheung-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;On Nov 11, 4:19 pm, Enrico Mail &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305862&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rails-mailing-l...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I must configure rubycas logout so:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; CASClient::Frameworks::Rails::Filter.configure(
&lt;br&gt;&amp;gt; :cas_base_url  =&amp;gt; &amp;quot;&lt;a href=&quot;https://myservercas/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://myservercas/&lt;/a&gt;&amp;quot;,
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; :logout_url    =&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;&lt;a href=&quot;https://myservercas/logout?service=http://#&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://myservercas/logout?service=http://#&lt;/a&gt;{request.host_with_port}&amp;quot;,
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and to do so I must change config/environment.rb,but in this file tell
&lt;br&gt;&amp;gt; me that the request.host_with_port method is undefined...help me :(
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;host_with_port is an instance method on an individual request - you
&lt;br&gt;can't call it if you are not in the presence of an individual
&lt;br&gt;request.
&lt;br&gt;&lt;br&gt;Fred
&lt;br&gt;&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Posted viahttp://www.ruby-forum.com/.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305862&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305862&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://old.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://old.nabble.com/host_with_port-in-config-environment.rb-tp26300195p26305862.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306273</id>
	<title>super noob looking for help</title>
	<published>2009-11-11T10:07:01Z</published>
	<updated>2009-11-11T10:07:01Z</updated>
	<author>
		<name>Brian-303</name>
	</author>
	<content type="html">&lt;br&gt;Hello all,
&lt;br&gt;I've just started to play around on Ruby and have read some tutorials,
&lt;br&gt;books, and Why's guide. &amp;nbsp;I do understand syntax of coding, or at least
&lt;br&gt;that within the controller, but I have limited web programming
&lt;br&gt;experience, so the view is giving me some problems. &amp;nbsp;So here is the
&lt;br&gt;issue,
&lt;br&gt;&lt;br&gt;I have a database of wines, that i'd like to be able to select by the
&lt;br&gt;producer, and then those the associated wines. &amp;nbsp;I thought this would
&lt;br&gt;work, but I keep getting the 'Couldn't find Wine with ID=Show' error.
&lt;br&gt;Any help and or pointers on this would be great. &amp;nbsp;Thanks a ton!
&lt;br&gt;&lt;br&gt;from view:
&lt;br&gt;&amp;lt;% form_for @wines, :url =&amp;gt; { :action =&amp;gt; 'Show' } do |f| %&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; Producer: &amp;lt;%= collection_select(:wine,:desc,@wines,:id,:desc,
&lt;br&gt;options ={:prompt =&amp;gt; &amp;quot;Select a producer&amp;quot;}) %&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;%= submit_tag 'Submit' %&amp;gt;
&lt;br&gt;&amp;lt;% end %&amp;gt;
&lt;br&gt;&lt;br&gt;from controller:
&lt;br&gt;&amp;nbsp; def show
&lt;br&gt;&amp;nbsp; &amp;nbsp; @wine = Wine.find(params[:desc])
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; respond_to do |format|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; format.html # show.html.erb
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; format.xml &amp;nbsp;{ render :xml =&amp;gt; @wine }
&lt;br&gt;&amp;nbsp; &amp;nbsp; end
&lt;br&gt;&amp;nbsp; end
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306273&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306273&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://old.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://old.nabble.com/super-noob-looking-for-help-tp26306273p26306273.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26305347</id>
	<title>Re: Before filter help</title>
	<published>2009-11-11T09:36:16Z</published>
	<updated>2009-11-11T09:36:16Z</updated>
	<author>
		<name>Matt Jones</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 10, 1:25 pm, Nicholas Young &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305347&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nicho...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; First off, I want to apologize if this topic has been previously
&lt;br&gt;&amp;gt; addressed on the list. I looked, but could have missed it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm trying to run a subscription site, and have created a Subscription
&lt;br&gt;&amp;gt; resource. I now have a table that holds a user_id, sub_user_id, and
&lt;br&gt;&amp;gt; expiration (in UTC.) I've constructed a query (that doesn't blow up!)
&lt;br&gt;&amp;gt; in my application controller that should check if a user's
&lt;br&gt;&amp;gt; subscription is valid:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   def check_subscription(current_user_id, content_owner_id)
&lt;br&gt;&amp;gt;     @subscription = Subscription.find(:all,
&lt;br&gt;&amp;gt;                                       :conditions =&amp;gt; { :user_id =&amp;gt;
&lt;br&gt;&amp;gt; current_user_id,
&lt;br&gt;&amp;gt;                                                        :sub_user_id =&amp;gt;
&lt;br&gt;&amp;gt; content_owner_id,
&lt;br&gt;&amp;gt;                                                        &amp;quot;((expiration&amp;gt; ?))&amp;quot; =&amp;gt; Time.now.utc })
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Somewhat offtopic, but how is the bit with a placeholder working? I
&lt;br&gt;just tried it against 2.3 and got an error about 'wrong number of bind
&lt;br&gt;variables&amp;quot;.
&lt;br&gt;&lt;br&gt;--Matt Jones
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305347&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305347&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://old.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://old.nabble.com/Before-filter-help-tp26290546p26305347.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26305025</id>
	<title>Trading Google Wave invites for host!</title>
	<published>2009-11-11T09:16:28Z</published>
	<updated>2009-11-11T09:16:28Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Trading up to 10 google wave invites for a fast, powerful Rails host
&lt;br&gt;that provides me with a top level domain: ie: webwebwebwebweb.com or
&lt;br&gt;wwwww.com
&lt;br&gt;&lt;br&gt;Or similar offers. Send me an email or post here.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305025&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305025&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://old.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://old.nabble.com/Trading-Google-Wave-invites-for-host%21-tp26305025p26305025.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26304251</id>
	<title>Re: should be simple -- will_paginate ordered by acts_as_rat</title>
	<published>2009-11-11T08:29:47Z</published>
	<updated>2009-11-11T08:29:47Z</updated>
	<author>
		<name>Frederick Cheung-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 11, 4:01 pm, Jeff Pritchard &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26304251&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rails-mailing-l...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&amp;gt; Frederick Cheung wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And your suggestion (slightly modified by me [single quotes added to
&lt;br&gt;&amp;gt; rating_statistics] gives this
&lt;br&gt;&lt;br&gt;it needs to be a symbol (otherwise it assumes you have constructed the
&lt;br&gt;join statement already).
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26304251&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26304251&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://old.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://old.nabble.com/should-be-simple----will_paginate-ordered-by-acts_as_rated-tp26279039p26304251.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26304055</id>
	<title>Re: host_with_port in config/environment.rb</title>
	<published>2009-11-11T08:19:31Z</published>
	<updated>2009-11-11T08:19:31Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;I must configure rubycas logout so:
&lt;br&gt;&lt;br&gt;CASClient::Frameworks::Rails::Filter.configure(
&lt;br&gt;:cas_base_url &amp;nbsp;=&amp;gt; &amp;quot;&lt;a href=&quot;https://myservercas/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://myservercas/&lt;/a&gt;&amp;quot;,
&lt;br&gt;...
&lt;br&gt;:logout_url &amp;nbsp; &amp;nbsp;=&amp;gt; 
&lt;br&gt;&amp;quot;&lt;a href=&quot;https://myservercas/logout?service=http://#&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://myservercas/logout?service=http://#&lt;/a&gt;{request.host_with_port}&amp;quot;,
&lt;br&gt;...
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;and to do so I must change config/environment.rb,but in this file tell 
&lt;br&gt;me that the request.host_with_port method is undefined...help me :(
&lt;br&gt;&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26304055&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26304055&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://old.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://old.nabble.com/host_with_port-in-config-environment.rb-tp26300195p26304055.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26304275</id>
	<title>Re: Is it possible to do Reverse Engineering in rails migrations?</title>
	<published>2009-11-11T08:12:54Z</published>
	<updated>2009-11-11T08:12:54Z</updated>
	<author>
		<name>Norm Scherer</name>
	</author>
	<content type="html">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
sathishkumar sadhasivam wrote:
&lt;blockquote cite=&quot;mid:2a8021c5-342e-4e7c-9a15-f67aefdf74af@13g2000prl.googlegroups.com&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;Hi All,

This is my first post as in joined just now and have some doubts,

I need a to discuss about Rails migrations in detail,

I have a doubt on doing reverse engineering concept in migrations on
existing database.

Consider, I have deleted all the migration files from the folder
RAILS_ROOT/db/migrate/*.

We have all the tables present in Mysql database. Now, I want to
create a migration files for all existing tables.

Is that possible to create those? If yes, how is it?

Even I have deleted the schema.rb file from RAILS_ROOT/db/ folder.

Looking for solution to try it out.

Thanks in Advance to all the user who is going put their thought
process into it,

-Sathish Kumar
  &lt;/pre&gt;
&lt;/blockquote&gt;
If what you want is a single migration to replace the multiple
migrations you had you can do it but maybe not easily.&amp;nbsp; As Marnen said
you can recreate the schema.rb from the database using an existing rake
task.&amp;nbsp; If you really want a migration you can then bring that file into
any editor and change the syntax line by line to the migration syntax.&amp;nbsp;
It is not hard but just fairly tedious.&amp;nbsp; If you just want to have the
ability to recreate the database, just create the schema.rb (see above)
and save it into your configuration management system.&amp;nbsp; You can fetch
it and run it any time to recreate the current database configuration.&lt;br&gt;
&lt;br&gt;
Norm&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26304275&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26304275&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;/body&gt;
&lt;/html&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.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://old.nabble.com/Is-it-possible-to-do-Reverse-Engineering-in-rails-migrations--tp26301574p26304275.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26303886</id>
	<title>Re: How to: Check if Javascript is enabled</title>
	<published>2009-11-11T08:05:53Z</published>
	<updated>2009-11-11T08:05:53Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;:-) Thanks, guys!
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303886&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303886&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://old.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://old.nabble.com/How-to%3A-Check-if-Javascript-is-enabled-tp26301217p26303886.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26303822</id>
	<title>Re: should be simple -- will_paginate ordered by acts_as_rat</title>
	<published>2009-11-11T08:01:47Z</published>
	<updated>2009-11-11T08:01:47Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Frederick Cheung wrote:
&lt;br&gt;&amp;gt; On Nov 11, 3:07�am, Jeff Pritchard &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303822&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rails-mailing-l...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; Well unless you care particularly about what the join looks like you
&lt;br&gt;&amp;gt; can just add :joins =&amp;gt; rating_statistic to your find. Do take the time
&lt;br&gt;&amp;gt; to familiarize yourself with this sort of stuff though or it will bite
&lt;br&gt;&amp;gt; you on the ass eventually.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Fred
&lt;br&gt;&lt;br&gt;Thanks Fred. &amp;nbsp;No joy.
&lt;br&gt;&lt;br&gt;This works fine but doesn't order anything (obviously):
&lt;br&gt;@images = Image.paginate(:page =&amp;gt; params[:page], :per_page =&amp;gt; 10)
&lt;br&gt;&lt;br&gt;This
&lt;br&gt;@images = Image.paginate(:page =&amp;gt; params[:page], :per_page =&amp;gt; 10, :order 
&lt;br&gt;=&amp;gt; 'rating_avg')
&lt;br&gt;gives me this error:
&lt;br&gt;Mysql::Error: Unknown column 'rating_avg' in 'order clause': SELECT * 
&lt;br&gt;FROM `images` &amp;nbsp; &amp;nbsp; &amp;nbsp;ORDER BY rating_avg LIMIT 0, 10
&lt;br&gt;&lt;br&gt;And your suggestion (slightly modified by me [single quotes added to 
&lt;br&gt;rating_statistics] gives this
&lt;br&gt;@images = Image.paginate(:page =&amp;gt; params[:page], :per_page =&amp;gt; 10, :joins 
&lt;br&gt;=&amp;gt; 'rating_statistics', :order =&amp;gt; 'rating_avg')
&lt;br&gt;Mysql::Error: Unknown table 'images': SELECT `images`.* FROM `images` 
&lt;br&gt;rating_statistics &amp;nbsp;ORDER BY rating_avg LIMIT 0, 10
&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;jp
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303822&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303822&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://old.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://old.nabble.com/should-be-simple----will_paginate-ordered-by-acts_as_rated-tp26279039p26303822.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26303604</id>
	<title>Re: ActiveRecord will not change port</title>
	<published>2009-11-11T07:49:45Z</published>
	<updated>2009-11-11T07:49:45Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;mpiskorz wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't know how many times I looked at the API yesterday, but there
&lt;br&gt;&amp;gt; it was. &amp;nbsp;Thanks for catching it.
&lt;br&gt;You're welcome :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; By chance, do you know what the difference is between using host and
&lt;br&gt;&amp;gt; server?
&lt;br&gt;&amp;gt; 
&lt;br&gt;You mean, besides the fact that host works and server doesn't? ;-)
&lt;br&gt;I'm guessing that, in the absence of a valid :host option, it tries to 
&lt;br&gt;connect to localhost.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303604&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303604&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://old.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://old.nabble.com/ActiveRecord-will-not-change-port-tp26290545p26303604.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26303479</id>
	<title>Re: ActiveRecord will not change port</title>
	<published>2009-11-11T07:42:12Z</published>
	<updated>2009-11-11T07:42:12Z</updated>
	<author>
		<name>mpiskorz</name>
	</author>
	<content type="html">&lt;br&gt;Aldric,
&lt;br&gt;&lt;br&gt;Thanks a lot! That was it.
&lt;br&gt;&lt;br&gt;I don't know how many times I looked at the API yesterday, but there
&lt;br&gt;it was. &amp;nbsp;Thanks for catching it.
&lt;br&gt;&lt;br&gt;By chance, do you know what the difference is between using host and
&lt;br&gt;server?
&lt;br&gt;&lt;br&gt;Thanks again!
&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;On Nov 11, 5:53 am, Aldric Giacomoni &amp;lt;rails-mailing-l...@andreas-
&lt;br&gt;s.net&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; mpiskorz wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; class MyClass &amp;lt; ActiveRecord::Base
&lt;br&gt;&amp;gt; &amp;gt;   establish_connection(
&lt;br&gt;&amp;gt; &amp;gt;     :adapter =&amp;gt; 'mysql',
&lt;br&gt;&amp;gt; &amp;gt;     :user =&amp;gt; 'root',
&lt;br&gt;&amp;gt; &amp;gt;     :database =&amp;gt; 'hrsuite_production',
&lt;br&gt;&amp;gt; &amp;gt;     :server =&amp;gt; &amp;quot;127.0.0.1&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt;     :port =&amp;gt; 3307)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I've also tried :server =&amp;gt; '127.0.0.1:3307' but that did not work
&lt;br&gt;&amp;gt; &amp;gt; either.  I also tried :socket =&amp;gt; nil, but no luck.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Try :host instead of :server .
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Posted viahttp://www.ruby-forum.com/.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303479&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303479&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://old.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://old.nabble.com/ActiveRecord-will-not-change-port-tp26290545p26303479.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26303392</id>
	<title>Re: Sessions</title>
	<published>2009-11-11T07:36:12Z</published>
	<updated>2009-11-11T07:36:12Z</updated>
	<author>
		<name>Hassan Schroeder-2</name>
	</author>
	<content type="html">&lt;br&gt;On Wed, Nov 11, 2009 at 1:00 AM, Dave English &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303392&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dave.e.english@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Can any recommend an overview of get/post, cookies, sessions, etc.,
&lt;br&gt;&amp;gt; and how Ruby on Rails interacts with all of this?
&lt;br&gt;&lt;br&gt;I would start by reading the HTTP RFC(s).
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Hassan Schroeder ------------------------ &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303392&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hassan.schroeder@...&lt;/a&gt;
&lt;br&gt;twitter: @hassan
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303392&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303392&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://old.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://old.nabble.com/Sessions-tp26298243p26303392.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26303381</id>
	<title>File security</title>
	<published>2009-11-11T07:36:04Z</published>
	<updated>2009-11-11T07:36:04Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi! again
&lt;br&gt;&lt;br&gt;I have another question:
&lt;br&gt;&lt;br&gt;I'm using Apach2 (preforks) + mod_rails for deploy my RoR app.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Ok, i changed the ownership of al files/dir of the RoR proyect to
&lt;br&gt;www-data/www-data, and set 755 attr. (rwx,rx,rx)
&lt;br&gt;&lt;br&gt;Is it correct?
&lt;br&gt;&lt;br&gt;&lt;br&gt;The RoR app works fine.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303381&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303381&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://old.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://old.nabble.com/File-security-tp26303381p26303381.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26303286</id>
	<title>Re: Mod_Rails question</title>
	<published>2009-11-11T07:30:52Z</published>
	<updated>2009-11-11T07:30:52Z</updated>
	<author>
		<name>Tim Mcd-2</name>
	</author>
	<content type="html">&lt;br&gt;Gregory Mazurek wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Mod_Rails (Phusion Passenger) is different than Mod_Ruby. &amp;nbsp;You'll enjoy
&lt;br&gt;&amp;gt; using Mod_Rails.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Greg
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, Nov 11, 2009 at 10:14 AM, Penguin Junior &amp;lt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303286&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rails-mailing-list@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I want to know if Phusion Passenger give the needed stability and
&lt;br&gt;&amp;gt;&amp;gt; to use mod_ruby and Rails with more than one application running per
&lt;br&gt;&amp;gt;&amp;gt; Thank you.
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;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;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; www.abetaday.com
&lt;/div&gt;I mistake the link
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.modrails.com/documentation.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.modrails.com/documentation.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;And... i think that i'm completely wrong...
&lt;br&gt;&lt;br&gt;Well, Phussion Passenger, GOOD, ¿ok?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you.
&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303286&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303286&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://old.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://old.nabble.com/Mod_Rails-question-tp26303004p26303286.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26303116</id>
	<title>Re: Mod_Rails question</title>
	<published>2009-11-11T07:21:34Z</published>
	<updated>2009-11-11T07:21:34Z</updated>
	<author>
		<name>Gregory Mazurek</name>
	</author>
	<content type="html">Mod_Rails (Phusion Passenger) is different than Mod_Ruby.  You&amp;#39;ll enjoy using Mod_Rails.&lt;br&gt;&lt;br&gt;Greg&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 11, 2009 at 10:14 AM, Penguin Junior &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303116&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rails-mailing-list@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;
Hi!&lt;br&gt;
&lt;br&gt;
I&amp;#39;m deploying a RoR app under Apache with Phusion Passenger (aka&amp;#39;&lt;br&gt;
mod_rails), but i rode at &lt;a href=&quot;http://www.modrails.com/documentation.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.modrails.com/documentation.html&lt;/a&gt;&lt;br&gt;
that isn&amp;#39;t good idea use it for a producction server.&lt;br&gt;
&lt;br&gt;
I was searching, and i got a lot of opinions about use/not use for&lt;br&gt;
production, the most negative opinions are around 2007/2008.&lt;br&gt;
&lt;br&gt;
I want to know if Phusion Passenger give the needed stability and&lt;br&gt;
security for use it at production server.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
* The only situation where is not recomendable to use, it&amp;#39;s at VPS/Share&lt;br&gt;
hosting because that:&lt;br&gt;
&lt;br&gt;
“mod_ruby uses a shared interpreter per Apache process, which means that&lt;br&gt;
multiple Rails applications on the same Apache setup with mod_ruby would&lt;br&gt;
share the framework classes. This doesn&amp;#39;t work well with the Rails model&lt;br&gt;
of using class-level configuration attributes, so it’s considered unsafe&lt;br&gt;
to use mod_ruby and Rails with more than one application running per&lt;br&gt;
Apache setup, because different applications may start sharing the&lt;br&gt;
classes.”&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://wiki.rubyonrails.org/rails/pages/mod_ruby&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://wiki.rubyonrails.org/rails/pages/mod_ruby&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
But thisn&amp;#39;t a problem for me, because i&amp;#39;m going to run only one app at&lt;br&gt;
the server.&lt;br&gt;
&lt;br&gt;
I aprecite all help.&lt;br&gt;
Thank you.&lt;br&gt;
--&lt;br&gt;
Posted via &lt;a href=&quot;http://www.ruby-forum.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.ruby-forum.com/&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;a href=&quot;http://www.abetaday.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.abetaday.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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303116&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://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26303116&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 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://old.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://old.nabble.com/Mod_Rails-question-tp26303004p26303116.html" />
</entry>

</feed>
