<?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://blog.gmane.org/gmane.comp.lang.ruby.rails">
    <title>gmane.comp.lang.ruby.rails</title>
    <link>http://blog.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/202895"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202894"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202893"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202892"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202891"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202890"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202889"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202888"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202887"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202886"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202885"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202884"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202883"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202882"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202881"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202880"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202879"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202878"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202877"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202876"/>
      </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/202895">
    <title>Can Rails work without database?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202895</link>
    <description>
I've gone through some tutorials and found that every example they made
defines a Database. I wander can Rails work without database.
</description>
    <dc:creator>Zhao Yi</dc:creator>
    <dc:date>2008-09-08T03:21:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202894">
    <title>new to rails</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202894</link>
    <description>
I am new to rails. Which user guide is better for rails beginner? Could
you give me some suggestion to learn rails?
thanks
</description>
    <dc:creator>Zhao Yi</dc:creator>
    <dc:date>2008-09-08T02:48:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202893">
    <title>Weird error in Hash.to_json</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202893</link>
    <description>
=&gt; "{}"
TypeError: wrong argument type Hash (expected Data)
from (irb):4:in `to_json'
from (irb):4

This is in Ruby 1.8.6, Rails 2.1.1...but for some reason reloading the
source fixes it:

=&gt; []
=&gt; "{}"

I'm baffled...what's a "Data" and why should to_json be expecting one?


--~--~---------~--~----~------------~-------~--~----~
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>Mike Travers</dc:creator>
    <dc:date>2008-09-08T02:10:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202892">
    <title>Re: Changing Date Format - it works, but then I get a "uninitialized constant ActiveSupport"</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202892</link>
    <description>
oh..I see there was an answer to this in a previous forum post that solves this:

looks like you've put the ActiveSupport line inside the
Rails::Initializer.run block.
you need to put it at the end of your environment.rb file, else
ActiveSupport hasn't yet been loaded... hence the exception it raises.

On Mon, Sep 8, 2008 at 11:17 AM, Greg Hauptmann
&lt;greg.hauptmann.ruby-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org&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-/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>Greg Hauptmann</dc:creator>
    <dc:date>2008-09-08T02:00:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202891">
    <title>Changing Date Format - it works, but then I get a "uninitialized constant ActiveSupport"</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202891</link>
    <description>
Hi,

When I change date formats via the following entry in environments.rb
it works fine.  Web pages reflect the new date format.
"ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS[:default]"

The issue is when I run things like "./script/console", or
"./script/spec &lt;filename&gt;" I get a "NameError: uninitialized constant
ActiveSupport" issue.  Any ideas how to solve this?

---------------------------------------------------------
Macintosh-2:myequity greg$ ./script/console
Loading development environment (Rails 2.1.1)
/Users/greg/source/myequity/config/environment.rb:69:NameError:
uninitialized constant ActiveSupport
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:93:NoMethodError:
undefined method `cattr_accessor' for ActionController::
Dispatcher:Class
/opt/local/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/console_with_helpers.rb:19:NoMethodError:
undefined method `require_dependency' for main:Object

Macintosh-2:myequity greg$ ./script/spec spec/models/transaction_spec.rb
/Users/greg/source/myequity/config/environment.rb:69: uninitialized
constant ActiveSupport (NameError)
        from /opt/local/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/initializer.rb:95:in
`run'
        from /Users/greg/source/myequity/config/environment.rb:20
        from /Users/greg/source/myequity/spec/spec_helper.rb:4:in `require'
        from /Users/greg/source/myequity/spec/spec_helper.rb:4
        from ./spec/models/transaction_spec.rb:1:in `require'
        from ./spec/models/transaction_spec.rb:1
        from /Users/greg/source/myequity/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:14:in
`load'
        from /Users/greg/source/myequity/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:14:in
`load_files'
        from /Users/greg/source/myequity/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:13:in
`each'
        from /Users/greg/source/myequity/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:13:in
`load_files'
        from /Users/greg/source/myequity/vendor/plugins/rspec/lib/spec/runner/options.rb:98:in
`run_examples'
        from /Users/greg/source/myequity/vendor/plugins/rspec/lib/spec/runner/command_line.rb:19:in
`run'
        from ./script/spec:4
Macintosh-2:myequity greg$
---------------------------------------------------------

thanks in advance

--~--~---------~--~----~------------~-------~--~----~
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>Greg Hauptmann</dc:creator>
    <dc:date>2008-09-08T01:17:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202890">
    <title>Re: rake gems:install requires the gems it tries to install</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202890</link>
    <description>
Yep that worked. Thanks Eric!

Brian

On Aug 27, 10:00 pm, emarthinsen &lt;emarthin...-wDk3GJWIFSIagCBP5wnx4wC/G2K4zDHf&lt; at &gt;public.gmane.org&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>bburridg-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2008-09-08T01:01:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202889">
    <title>Re: Regular Expression help</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202889</link>
    <description>
Woah dude! Thanks for that :) I'll work my way through understanding
it now :)

Cheers!

Brendon

On Sep 6, 3:22 am, "Pardee, Roy" &lt;parde...-go57ItdSaco&lt; at &gt;public.gmane.org&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>Brendon</dc:creator>
    <dc:date>2008-09-08T00:52:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202888">
    <title>[ANN] assert_latest now takes "polygamous" arguments</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202888</link>
    <description>
Railsters:

Those of you who dig ActiveRecord need this:

http://www.oreillynet.com/ruby/blog/2008/09/polygamous_assert_latest.html

It shows how to write tests like this:

     t, fz = assert_latest T2, Foo do
               T2.create
               2.times{ Foo.create }
             end

     assert do
       t.id &gt; 0     and
       fz[0].id &gt; 0 and
       fz[1].id &gt; fz[0].id
     end

The inner lines - T2.create etc. - represent your production code in action. You 
put the assert_latest around that code, and it will detect any new records of 
the given type. You can then assert the records have the fields you expect.

The assertion is "polygamous" because you can pass any list of types in. The 
original version only took one type.

This is useful for any kind of testing, but super-useful for integration tests, 
to detect large batches of new records.

Get assert_latest with the assert_efficient_sql gem.

</description>
    <dc:creator>Phlip</dc:creator>
    <dc:date>2008-09-08T00:39:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202887">
    <title>Re: How call distance_of_time_in_words() from controller?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202887</link>
    <description>
You could do it this way.

class MyController
  include ActionView::Helpers::DateHelper

  def some_method
    distance_of_time_in_words ...
  end
end

I think this would also work, and would be better since it wouldn't be
adding all of DateHelper's methods to the controller:

def some_method
  &lt; at &gt;template.distance_of_time_in_words ...
end

-Dan
http://www.dcmanges.com

On Sep 7, 12:30 pm, Peter Alvin &lt;rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg&lt; at &gt;public.gmane.org&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>Dan Manges</dc:creator>
    <dc:date>2008-09-08T00:34:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202886">
    <title>Re: trying to create a folder dir in rails.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202886</link>
    <description>
You're receiving that error because of the leading / before public -
it's treating it like an absolute path instead of a relative one.  Try
this:

Dir.mkdir "#{RAILS_ROOT}/public/midifiles/#{current_user.id}"

-Dan
http://www.dcmanges.com

On Sep 7, 7:08 pm, GabrielG1976 &lt;GabrielG1...-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org&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>Dan Manges</dc:creator>
    <dc:date>2008-09-08T00:23:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202885">
    <title>Having Trouble Matching A Blank Line In TextMate Bundle Editor</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202885</link>
    <description>
I couldn't find the Ruby on Rails: TextMate group (did it go away?) so
I'm posting my question here.

I'm creating my own custom language syntax for TextMate.  In the
bundle editor I'm setting up folding like this:

foldingStartMarker = '^\S+.*$';
foldingStopMarker = '^\s*$';

This tells TextMate that the start of a foldable section is any non-
empty line that isn't indented, and the end of a foldable section is
an empty line.

I'm trying to match the case where the line is not technically empty,
but only contains whitespace (hence the \s* part of the regular
expression).  This does not work.  The folding stop marker appears
when the line is completely empty, but the moment I put spaces in the
line, the folding stop marker goes away.

Did I get the regular expressions wrong, is it a bug in TextMate, or
is something else wrong?

Thanks in advance!
Wyatt


--~--~---------~--~----~------------~-------~--~----~
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>Wyatt Greene</dc:creator>
    <dc:date>2008-09-08T00:16:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202884">
    <title>trying to create a folder dir in rails.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202884</link>
    <description>
Hello IM trying to create a folder directory based on when the user
signs up and is created Im using restful Authencation and the code i
added to the create methos is this...

Dir.mkdir"/public/midifiles/#{current_user.id}"


The public and the midi folder are allready made I just want it to
create the current_user a folder .

the Error i get is this...

No such file or directory - /public/midifiles/3

Thanks any help would be great

Gabriel

--~--~---------~--~----~------------~-------~--~----~
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>GabrielG1976</dc:creator>
    <dc:date>2008-09-08T00:08:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202883">
    <title>Re: plugging in to rails application lifecycle</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202883</link>
    <description>
On Mon, Sep 8, 2008 at 1:32 AM, Michael Allman &lt;javathehutt-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org&gt; wrote:


This is done to be able to refresh changes automatically while you are
developing, since normally that's more handy than restarting the
server by hand to load changes. You can turn it off setting

    config.cache_classes = true

in config/environments/development.rb.

Take into account that if you restart the application object IDs for
the same classes are not guaranteed to be the same (in general they
won't be).

Also take into account that in the typical multi-process setup there
are as many interpreters running as processes, and thus those handlers
are going to run those many times.

--~--~---------~--~----~------------~-------~--~----~
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>Xavier Noria</dc:creator>
    <dc:date>2008-09-07T23:54:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202882">
    <title>Re: plugging in to rails application lifecycle</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202882</link>
    <description>
Hi Michael,

Michael Allman wrote:


Only in development mode.  That's so we don't have to stop / restart the web
server for every little change.  Saves a lot of development time.

HTH,
Bill


--~--~---------~--~----~------------~-------~--~----~
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>Bill Walton</dc:creator>
    <dc:date>2008-09-07T23:50:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202881">
    <title>Re: plugging in to rails application lifecycle</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202881</link>
    <description>
Hi Fred,

Frederick Cheung wrote:


That's true.  But Mongrel is not your Rails app.  The OP said "I need to
open the database once at application startup and close it once at
application shutdown.".  I was trying to separate the issues / components.
Perhaps I should have said more about the other components of the Rails
application "ecosystem."

Best regards,
Bill


--~--~---------~--~----~------------~-------~--~----~
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>Bill Walton</dc:creator>
    <dc:date>2008-09-07T23:49:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202880">
    <title>Re: plugging in to rails application lifecycle</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202880</link>
    <description>
Nevermind.  I figured it out:

config.cache_classes = true

Michael

On Sep 7, 4:32 pm, Michael Allman &lt;javatheh...-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org&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>Michael Allman</dc:creator>
    <dc:date>2008-09-07T23:49:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202879">
    <title>rake gems</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202879</link>
    <description>
I've upgraded to Rails 2.1.0, I have rake version 0.8.1, and I have
rubygems version 1.2.0.

I've tried to use the gem dependency feature in Rails 2.1, but when I
try the new rake gems task, I get " Don't know how to build task
'gems' "

rake -T gems simply gives me : http://pastie.org/267864

Any clues?
--~--~---------~--~----~------------~-------~--~----~
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>Nik B</dc:creator>
    <dc:date>2008-09-07T23:48:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202878">
    <title>Re: plugging in to rails application lifecycle</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202878</link>
    <description>
I noticed Rails reloads my classes on every request.  My database
can't handle that.  My database depends on classes maintaining their
identity.  That is, given a class "Person",  Person.object_id must not
vary across requests.  Is there a way to turn off this "reload per
request" behavior?  And why does it do this in the first place?  Seems
rather strange.

Thanks.

Michael

On Sep 7, 8:41 am, "Bill Walton" &lt;bill.wal...-xwVYE8SWAR3R7s880joybQ&lt; at &gt;public.gmane.org&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>Michael Allman</dc:creator>
    <dc:date>2008-09-07T23:32:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202877">
    <title>HOw do I perform this conditional validation?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202877</link>
    <description>
Hi,

I have this validation rule to check if the user-entered date of birth
is at least 18 years of age ...

  validates_each :date_of_birth do |record, attr, value|
        record.errors.add attr, "You must be at least 18 years old to
use this site." if value &gt; Date.new((Date.today.year - 18),
(Date.today.month),(Date.today.day))
  end

Now I want to refine this so it validation only occurs if this
condition above is true and the user_type_id virtual attribute is
equal to one.  How do I add this additional piece of logic into my
validation rule?

Thanks, - Dave

--~--~---------~--~----~------------~-------~--~----~
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>laredotornado-8iDLEspWrrZBDgjK7y7TUQ&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2008-09-07T22:42:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202876">
    <title>Re: plugging in to rails application lifecycle</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202876</link>
    <description>

On 7 Sep 2008, at 16:41, Bill Walton wrote:

Um what? Something like a mongrel instance is exactly something that  
sits there and waits for requests to come in.

Fred




--~--~---------~--~----~------------~-------~--~----~
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>Frederick Cheung</dc:creator>
    <dc:date>2008-09-07T22:14:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202875">
    <title>Re: Configuring custom library</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.ruby.rails/202875</link>
    <description>
Thanks!!

You made me dive into this matter deep this time. I get the picture
now. That's partially then. As I'm still looking for a way to
configure things in a way, well like Rails does, e.g. in the
initializers: ActiveSupport.escape_html_entities_in_json = false

But then, I don't know wether ActiveSupport here is one big
Singleton?! That might be a way to solve it as this functionality
would perfectly fit in a Singleton. I will give it a thought....

Jan


On 6 sep, 20:38, Andrew Bloom &lt;akbl...-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org&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>javinto</dc:creator>
    <dc:date>2008-09-07T15:38:07</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>
