<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails">
    <title>gmane.comp.lang.ruby.rails</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199726"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199725"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199724"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199723"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199722"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199721"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199720"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199719"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199718"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199717"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199716"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199715"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199714"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199713"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199712"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199711"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199710"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199709"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199708"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199707"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199726">
    <title>link_to option</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199726</link>
    <description>
can i use onload event in link_to using ruby on rails
</description>
    <dc:creator>Sujith Gangaraju</dc:creator>
    <dc:date>2008-07-25T06:43:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199725">
    <title>html file</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199725</link>
    <description>
i am showing some document in browser as html usin ruby on rails
i dont want to copy and paste the content from the browser
we can write any code for that in ruby pls help me
</description>
    <dc:creator>Sujith Gangaraju</dc:creator>
    <dc:date>2008-07-25T04:53:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199724">
    <title>Re: ****[Rails] Re: 502 Proxy Error - mongrel_rails, apache, cap 2.0</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199724</link>
    <description>
On Thu, 2008-07-24 at 20:30 -0700, Andy wrote:
----
and by the way...you gave me the following line from your
mongrel_cluster.yml


which would be a Macintosh path and not a Linux path so it seems you
have an issue with developing on a Macintosh and deploying on Linux.

Craig


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Craig White</dc:creator>
    <dc:date>2008-07-25T03:50:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199723">
    <title>can I access session variable in model</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199723</link>
    <description>
Hi
   can I access session variable in model? I have in the user controller
code
session[:site_id] = &lt; at &gt;the_site.site_id

And how can i access this in one of my active record model
SDAttachment?I tried like
site_id=session[:site_id] but this gives error. Please help

Sijo
</description>
    <dc:creator>Sijo Kg</dc:creator>
    <dc:date>2008-07-25T06:16:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199722">
    <title>Re: Find :last</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199722</link>
    <description>
On Thu, 2008-07-24 at 22:25 +0200, Pål Bergström wrote:
----
not an implemented option

http://rails.rubyonrails.org/classes/ActiveResource/Base.html#M000933

Craig


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe&lt; at &gt;googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Craig White</dc:creator>
    <dc:date>2008-07-24T21:13:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199721">
    <title>Re: Having troubles extracting json data within javascript</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199721</link>
    <description>
On Wed, Jul 23, 2008 at 10:44 PM, Chris Olsen
&lt;rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg&lt; at &gt;public.gmane.org&gt; wrote:

if  you are using prototype you could use data.evalJSON(true)

See: http://www.prototypejs.org/api/string/evalJSON



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Christopher Kintner</dc:creator>
    <dc:date>2008-07-24T14:19:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199720">
    <title>Re: deleting model objects</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199720</link>
    <description>
Justin To wrote:


Put the :id inside the :url. From outside, it might be the HTML id.


Put the deleter into a class method on Post.

Write a unit test for it.

(Actually, write the test first, then put the deleter in, but that's an advanced
topic...)

Get the test to pass, by detecting Post.find_by_requirement_id() returns nil.

Don't use find_all_by_requirement_id if your params[:id] can only have one.

Then write a "functional" test checking that your action deletes the target record.

And don't use :method =&gt; :delete in your link. That links to a magic HTTP verb
DELETE, which you probably are not implementing. Try :method =&gt; :post.

</description>
    <dc:creator>Phlip</dc:creator>
    <dc:date>2008-07-25T02:35:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199719">
    <title>Re: 15 minute blog tutorial</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199719</link>
    <description>
I'm familiar with those written tutorials, but I was just expressing  
my feelings about the video on the main site being broken.

Maybe we could convince the other Ryan (Bates) to redo the 15-minute  
blog tutorial himself? Now that would be pretty frickin' sweet.

On 25/07/2008, at 12:02 PM, Davo wrote:



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Ryan Bigg</dc:creator>
    <dc:date>2008-07-25T03:59:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199718">
    <title>Re: ****[Rails] Re: 502 Proxy Error - mongrel_rails, apache, cap 2.0</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199718</link>
    <description>
On Thu, 2008-07-24 at 20:30 -0700, Andy wrote:
----
post errors from /var/log/httpd/error_log (or ssl_error_log) because
those are apache errors not rails/mongrel errors.

Did you make certain that only the mongrel_cluster processes running
were the valid ones because that's what I thought was going on (some
unattached mongrel_cluster processes were grabbing the connections).

I haven't used capistrano but this isn't all that complicated.

Craig


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Craig White</dc:creator>
    <dc:date>2008-07-25T03:48:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199717">
    <title>Rails Rewrite rule (on mod_rails)</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199717</link>
    <description>
Hello,

I'm running fine my application on the dev server with apache2 and
mod_rails, but on the production server I have a strange issue.. it
seems like something is wrong with httpd.conf of .htacces.. the dev
server is a DreamHost PS and I'm configuring the production one one
HostGator.

I have a public/users/ folder with member profile images and a users
controller..

{dreamhost}/users/15  =&gt; member profile
{dreamhost}/users/15.jpg =&gt; user image

{hostgator}/user/15 =&gt; member profile
{hostgator}/users/15.jpg =&gt; member profile (..not found)
{hostgator}/users/15.jpg?hello =&gt; user image..

what is this? I have this rule in .htaccess, but it seems to be
ignored on HG..

RewriteCond %{REQUEST_URI} ^/users/*.jpg
RewriteRule .* - [L]

oh, one more thing (big)

Hello,

I'm running fine my application on the dev server with apache2 and
mod_rails, but on the production server I have a strange issue.. it
seems like something is wrong with httpd.conf of .htacces.. the dev
server is a DreamHost PS and I'm configuring</description>
    <dc:creator>MEK</dc:creator>
    <dc:date>2008-07-23T16:24:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199716">
    <title>MySQL and loading dates for timestamp columns from CSV</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199716</link>
    <description>
Hello, using MySQL, FasterCSV and have a CSV dump of blog posts to be
imported as production data, except the created_at and updated_at
columns are always populated for me and not read from the CSV!

I tried renaming the columns, tried changing the type to import them
as strings, this worked (as strings), but then when I changed the type
to datetime, they NULL'd out (expected?).

This happens for all my models that use the timestamp columns.  All
tables were created from migrations using t.timestamps.

I tried messing with record_timestamps as well to no avail.  this must
be a general problem, hoping it's something simple.  tia!

def import_csv(file)
  name = File.basename(file, '.csv')
  puts
  puts "truncating existing #{name} data..."
  ActiveRecord::Base.connection.execute("truncate table
#{name.pluralize.underscore}")

  puts "parsing #{name}.csv..."
  rows = FasterCSV.read(file, :quote_char =&gt; '\\')
  column_names = rows.shift

  puts "importing #{rows.size} rows..."
  count = (eval "#{name}.import(co</description>
    <dc:creator>Andy</dc:creator>
    <dc:date>2008-07-25T04:45:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199715">
    <title>Re: Text::Format assistance needed</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199715</link>
    <description>
Dustin Tigner wrote:

You might want to look into RedCloth and BlueCloth. They are Ruby 
libraries that provide support for Textile and Markdown, markup 
notations that are simpler than HTML. If you're familiar with editing 
Wikipedia pages, it's kind of like that.

Preserving tabs might be a bit tricky though. I don't know how you'd 
render them in HTML -- maybe a series of &amp;nbsp; ?
</description>
    <dc:creator>Jeremy Weiskotten</dc:creator>
    <dc:date>2008-07-25T00:11:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199714">
    <title>cannot figure out how to handle multi checkbox</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199714</link>
    <description>
I have a checkbox that is not tied to a model.  Basically, here's what
the beginning looks like in the view:

&lt;% for entrant in &lt; at &gt;entrants %&gt;
          &lt;tr class="&lt;%= cycle("even", "odd") %&gt;" &gt;
            &lt;td&gt;&lt;%= check_box ("to_check", entrant.firstname, {},
checked = "false") %&gt;&lt;/td&gt;


This submits to a controller action that has only the following line:

&lt; at &gt;firstnames = params[:to_check]


I'm trying to display the results on the next page:

      &lt;% for firstname in &lt; at &gt;firstnames  %&gt;
            &lt;br /&gt;
            &lt;%=h firstname %&gt;

        &lt;% end %&gt;



This seems really simple.  Right now it's displaying every firstname in
the array whether it was checked or not.  I tried another way and it
only returned the first element in the array (so the names overwrote
each other).  How do I check in the controller action method to see
which ones were checked?  I'm coming from a Java web background and am a
beginner with Ruby on Rails and have been Googling extensively, but I'm
not understanding the examples, and the </description>
    <dc:creator>Naija Guy</dc:creator>
    <dc:date>2008-07-23T06:13:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199713">
    <title>Re: 15 minute blog tutorial</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199713</link>
    <description>
Hi Ryan,

Yes I agree, that would be a great idea...

One thought - are you familiar with the four part tutorial covering
RoR 2.0 and then onto 2.1 for parts 3 &amp; 4.

They can be found here...
http://www.akitaonrails.com/2008/2/1/rolling-with-rails-2-0-pdf-version
&amp; here
http://www.akitaonrails.com/2008/5/25/rolling-with-rails-2-1-the-first-full-tutorial-part-1

cheers, Dave Porter


On Jul 25, 5:53 am, Jeremy Weiskotten &lt;rails-mailing-l...&lt; at &gt;andreas-
s.net&gt; wrote:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe&lt; at &gt;googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Davo</dc:creator>
    <dc:date>2008-07-25T02:32:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199712">
    <title>Re: Find :last</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199712</link>
    <description>
With me Model.first works... Model.last works as well... no need for
Model.find...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Abraão Coelho</dc:creator>
    <dc:date>2008-07-25T02:26:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199711">
    <title>Re: Find :last</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199711</link>
    <description>
On Thu, Jul 24, 2008 at 3:25 PM, Pål Bergström
&lt;rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg&lt; at &gt;public.gmane.org&gt; wrote:

There is no Model.find(:first).

You need to do Model.find(:first, :order =&gt; '?? DESC')


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe&lt; at &gt;googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Christopher Kintner</dc:creator>
    <dc:date>2008-07-24T20:27:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199710">
    <title>Re: More Rails-ish Way?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199710</link>
    <description>

Oops, change 'correct code' to 'current code'.  AFAICT, both are correct.


Quoting Jeffrey L. Taylor &lt;ror-f/t7CGFWhwGcvWdFBKKxig&lt; at &gt;public.gmane.org&gt;:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Jeffrey L. Taylor</dc:creator>
    <dc:date>2008-07-25T02:23:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199709">
    <title>Creating has_and_belongs_to_many from legacy data</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199709</link>
    <description>
I've just started using rails and I have a legacy DB with 2 models
that have a habtm relationship.  I know how to specify the
association, but how do I create the associations from my legacy data?

Thanks,
Jay

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Jay</dc:creator>
    <dc:date>2008-07-24T19:56:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199708">
    <title>Re: link_to_remote :with =&gt; multiple items</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199708</link>
    <description>
On Thu, Jul 24, 2008 at 2:04 PM, Justin To
&lt;rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg&lt; at &gt;public.gmane.org&gt; wrote:

Provided that the id of the text field is title it should. The
development log will show you what is in the params object.





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw&lt; at &gt;public.gmane.org
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


</description>
    <dc:creator>Christopher Kintner</dc:creator>
    <dc:date>2008-07-24T19:39:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199707">
    <title>Re: Find :last</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199707</link>
    <description>
Jeremy Weiskotten wrote:

Hmm. From the api:

# find last
  Person.find(:last) # returns the last object fetched by SELECT * FROM 
people
  Person.find(:last, :conditions =&gt; [ "user_name = ?", user_name])
  Person.find(:last, :order =&gt; "created_on DESC", :offset =&gt; 5)
</description>
    <dc:creator>Pål Bergström</dc:creator>
    <dc:date>2008-07-24T21:33:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199706">
    <title>config.after_initialize doesn't seem to run</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/199706</link>
    <description>
At the end of config/development.rb I have:

config.after_initialize do
  ExceptionNotifier.exception_recipients = ['support-D4qZEMI14/jqlBn2x/YWAg&lt; at &gt;public.gmane.org']
  FOOBAR = '123' # Just for testing
end

Now, when I run script/console (or the web server) it seems that the
after_inialize block doesn't run:

Loading development environment.
=&gt; nil
=&gt; NameError: uninitialized constant FOOBAR

I'm on Rails 1.2.5, BTW.

What am I missing?

Thanks,

Brian
</description>
    <dc:creator>Brian Hartin</dc:creator>
    <dc:date>2008-07-24T21:35:56</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.lang.ruby.rails">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.ruby.rails</link>
  </textinput>
</rdf:RDF>
