<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>%w(Akita On Rails) * 2.0 - Chatting with Hongli Lai and Ninh Bui (Phusion) Comments</title>
  <id>tag:www.akitaonrails.com,2008:/2008/5/7/chatting-with-hongli-lai-and-ninh-bui-phusion/comments</id>
  <generator version="0.8.0" uri="http://mephistoblog.com">Mephisto Drax</generator>
  <link href="http://www.akitaonrails.com/2008/5/7/chatting-with-hongli-lai-and-ninh-bui-phusion/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2008/5/7/chatting-with-hongli-lai-and-ninh-bui-phusion" rel="alternate" type="text/html"/>
  <updated>2008-05-14T14:48:11Z</updated>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Ninh &amp;amp; Hongli</name>
    </author>
    <id>tag:www.akitaonrails.com,2008-05-07:2786:2849</id>
    <published>2008-05-14T14:48:11Z</published>
    <updated>2008-05-14T14:48:11Z</updated>
    <category term="English"/>
    <category term="Entrevistas"/>
    <category term="Especiais"/>
    <link href="http://www.akitaonrails.com/2008/5/7/chatting-with-hongli-lai-and-ninh-bui-phusion" rel="alternate" type="text/html"/>
    <title>Comment on 'Chatting with Hongli Lai and Ninh Bui (Phusion)' by Ninh &amp;amp; Hongli</title>
<content type="html">&lt;p&gt;James, the error you&#8217;re experiencing is &lt;span class=&quot;caps&quot;&gt;NOT&lt;/span&gt; passenger related, but instead rails related. See the error message.&lt;/p&gt;


	&lt;p&gt;It says:
ActionView::TemplateError (You have a nil object when you didn’t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.include?) on line #16 of app/views/shared/_loggedUserMenu.rhtml: 13:&lt;/p&gt;


	&lt;p&gt;So you&#8217;re referencing something that contains nil&#8230;&lt;/p&gt;


	&lt;p&gt;Hint: it starts with an s and ends with ession and is located on line 16 as the error message states ;-)&lt;/p&gt;


	&lt;p&gt;Cheers,
Hongli Lai
Ninh Bui&lt;/p&gt;


	&lt;p&gt;P.S. If you do experience any passenger related errors, please post them on the community forums as found here; http://groups.google.com/group/phusion-passenger&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>James George</name>
    </author>
    <id>tag:www.akitaonrails.com,2008-05-07:2786:2847</id>
    <published>2008-05-14T10:21:42Z</published>
    <updated>2008-05-14T10:21:42Z</updated>
    <category term="English"/>
    <category term="Entrevistas"/>
    <category term="Especiais"/>
    <link href="http://www.akitaonrails.com/2008/5/7/chatting-with-hongli-lai-and-ninh-bui-phusion" rel="alternate" type="text/html"/>
    <title>Comment on 'Chatting with Hongli Lai and Ninh Bui (Phusion)' by James George</title>
<content type="html">&lt;p&gt;I have successfuly install it and ran around 10 apps in it. Projects were developed on Rails 1.2.6. At times I end up getting this error and I&#8217;m forced to restart my apache. Could you help me out on this issue?&lt;/p&gt;


	&lt;p&gt;ActionView::TemplateError (You have a nil object when you didn&#8217;t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.include?) on line #16 of app/views/shared/_loggedUserMenu.rhtml:
13:             &lt;li&gt;&amp;lt;&lt;span&gt;=&#8221;class=&#8217;curr&#8217;&#8221; if session[:curr_tab] == &#8220;Profile&#8221; %&amp;gt;&amp;gt;&amp;lt;&lt;/span&gt;= link_to &#8216;Profile&#8217;, {:controller =&amp;gt; &#8216;employees&#8217; ,:action =&amp;gt; &#8216;emp_profile&#8217;}, :class =&amp;gt; &#8220;add_link&#8221; %&amp;gt;&lt;/li&gt;
14:             &lt;li&gt;&amp;lt;&lt;span&gt;=&#8221;class=&#8217;curr&#8217;&#8221; if session[:curr_tab] == &#8220;Leave&#8221; %&amp;gt;&amp;gt;&amp;lt;&lt;/span&gt;= link_to &#8216;Leave&#8217;, {:controller =&amp;gt; &#8216;leaves&#8217; ,:action =&amp;gt; &#8216;list&#8217;}, :class =&amp;gt; &#8220;add_link&#8221; %&amp;gt;&lt;/li&gt;
15:     &amp;lt;% elsif logged_user.admin? %&amp;gt;
16:             &amp;lt;&lt;span&gt;if(session[:auth_tabs].include?(&#8220;Land Banking&#8221;) &#38;x%x&lt;/span&gt; ($modules_name.include?(&#8220;Land Banking&#8221;) || logged_user.user_type  'super_admin')) %&amp;gt;
17:                             &lt;li&gt;&amp;lt;&lt;span&gt;= &quot;class='curr'&quot; if session[:curr_tab]  &#8220;Land Banking&#8221; %&amp;gt;&amp;gt;&amp;lt;&lt;/span&gt;= link_to &#8216;Land Banking&#8217;, {:controller =&amp;gt; &#8216;lands&#8217;,:action =&amp;gt; &#8216;list&#8217;}, :class =&amp;gt; &#8220;add_link&#8221; %&amp;gt;&lt;/li&gt;
18:             &amp;lt;% end %&amp;gt;
19:             &amp;lt;&lt;span&gt;if(session[:auth_tabs].include?(&#8220;Projects&#8221;) &#38;x%x&lt;/span&gt; ($modules_name.include?(&#8220;Projects&#8221;) || logged_user.user_type == &#8216;super_admin&#8217;))%&amp;gt;&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;/var/www/html/rails-apps/crux-flair/app/views/shared/_loggedUserMenu.rhtml:16:in `_run_rhtml_47app47views47shared47_loggedUserMenu46rhtml'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:326:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:326:in `compile_and_render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:301:in `render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:260:in `render_file'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:275:in `render'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/partials.rb:59:in `render_partial_without_record_identification'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:30:in `benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/partials.rb:58:in `render_partial_without_record_identification'
/var/www/html/rails-apps/crux-flair/vendor/plugins/simply_helpful/lib/simply_helpful/av_extensions.rb:6:in `render_partial'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:287:in `render'
/var/www/html/rails-apps/crux-flair/app/views/layouts/application.rhtml:9:in `_run_rhtml_47app47views47layouts47application46rhtml'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:326:in `send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:326:in `compile_and_render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:301:in `render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/base.rb:260:in `render_file'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/layout.rb:254:in `render_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:50:in `render'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'&lt;/code&gt;&lt;/pre&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>danie lopes</name>
    </author>
    <id>tag:www.akitaonrails.com,2008-05-07:2786:2811</id>
    <published>2008-05-08T14:41:47Z</published>
    <updated>2008-05-08T14:41:47Z</updated>
    <category term="English"/>
    <category term="Entrevistas"/>
    <category term="Especiais"/>
    <link href="http://www.akitaonrails.com/2008/5/7/chatting-with-hongli-lai-and-ninh-bui-phusion" rel="alternate" type="text/html"/>
    <title>Comment on 'Chatting with Hongli Lai and Ninh Bui (Phusion)' by danie lopes</title>
<content type="html">&lt;p&gt;pessoal bem fashion ein. Parabens pela entrevista&#8230; muito legal.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Robin Sharma</name>
    </author>
    <id>tag:www.akitaonrails.com,2008-05-07:2786:2793</id>
    <published>2008-05-07T14:58:17Z</published>
    <updated>2008-05-07T14:58:17Z</updated>
    <category term="English"/>
    <category term="Entrevistas"/>
    <category term="Especiais"/>
    <link href="http://www.akitaonrails.com/2008/5/7/chatting-with-hongli-lai-and-ninh-bui-phusion" rel="alternate" type="text/html"/>
    <title>Comment on 'Chatting with Hongli Lai and Ninh Bui (Phusion)' by Robin Sharma</title>
<content type="html">&lt;p&gt;Deployment was one of the nightmares when it came to &lt;span class=&quot;caps&quot;&gt;RAILS&lt;/span&gt; but with mod_rails life of &lt;span class=&quot;caps&quot;&gt;RAILS&lt;/span&gt; developers around the community will become easy. Thanks Akita for another great interview.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://www.akitaonrails.com/">
    <author>
      <name>Pedro Pimentel</name>
    </author>
    <id>tag:www.akitaonrails.com,2008-05-07:2786:2790</id>
    <published>2008-05-07T03:35:21Z</published>
    <updated>2008-05-07T03:35:21Z</updated>
    <category term="English"/>
    <category term="Entrevistas"/>
    <category term="Especiais"/>
    <link href="http://www.akitaonrails.com/2008/5/7/chatting-with-hongli-lai-and-ninh-bui-phusion" rel="alternate" type="text/html"/>
    <title>Comment on 'Chatting with Hongli Lai and Ninh Bui (Phusion)' by Pedro Pimentel</title>
<content type="html">&lt;p&gt;Muito boa a entrevista, eles elaboraram ótimas respostas!!
E parabéns pela iniciativa grande Akita reporter! hehehe&lt;/p&gt;


	&lt;p&gt;abraço&lt;/p&gt;</content>  </entry>
</feed>
