<?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://comments.gmane.org/gmane.comp.lang.ruby.rails/201868"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201863"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201859"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201857"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201856"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201853"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201850"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201848"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201847"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201843"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201837"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201830"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201823"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201821"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201819"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201817"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201815"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201812"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201808"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201807"/>
      </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://comments.gmane.org/gmane.comp.lang.ruby.rails/201868">
    <title>Upgrading from InstantRails 1.7 to 2.0</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201868</link>
    <description>

I am trying to upgrade from InstantRails 1.7 to 2.0 and can not get
rails apps created with 1.7 to run?

Working through the How-to-update.txt file it states the following:
You must create this SCGI configuration file for each of your Rails
apps since it won't already exist:

    * Select the menu command
      "Rails Applications &gt;&gt; Manage Rails Applications..."

    * For each Rails application, select it and press the button
      "Configure SCGI Settings..."

          o This will popup a dialog that will let you set the
            runtime mode (development, production, test) and the
            SCGI port number.

However I have no "Configure SCGI Settings" button available after
selecting Manage Rails Applications?

I get a 500 error when I start up mongrel and try to view any page in my
rails apps created with InstantRails 1.7?

The documentation also states:
    * Select the menu command "Rails Applications &gt;&gt; Open Ruby Console
Window".
      One at a time, move into the base directory for each of your Rails
apps,
      and then follow the upgrade instratuctions here:
      http://documentation.rubyonrails.com/re … to_10.html

However when you go to this url you get a "Page Not Found" error?

Any help is greatly appreciated.
</description>
    <dc:creator>Mike Cannon</dc:creator>
    <dc:date>2008-08-29T18:15:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201863">
    <title>Use Rails to develop websites that frequently change layout</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201863</link>
    <description>
Hi experts!

I would like to develop a website using rails that projects can do the
following things.
*  Designers can freely and frequently design and change layout of pages
(HTML,XHTML format) with a lot of  dinamic data...

Which is the good way to use Rails to build website like that?

Waiting for your advices.
Thank you very much.
</description>
    <dc:creator>Ruby Girl</dc:creator>
    <dc:date>2008-08-29T16:53:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201859">
    <title>[ANN][ADV] Rails Wheels search and licencing system for Rails software</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201859</link>
    <description>
Hi,

I'd like to announce Rails Wheels, a way to find, and be
notified about, plugins and other software that's used on
Rails sites, but also a way for authors of such software
to earn part of their living from their open-sourced
packages, rather than solely from their sites. The aim
is to give us better software with better support &amp;
documentation, while preserving most of the benefits of
free-software.

Licences can be purchased in infrequent batches, and are
only required when software is in live use, easing the
burden on software users, while software authors have
a ready-made framework for listing, licencing and
supporting their work.

So if you've written a plugin, tool, or other piece of
software (big or small) that's used on Rails websites,
I invite you to register it at http://railswheels.com .
Your software's licence conditions can be purely free,
commercial, donation-ware, or a hybrid, including legacy
options.

Thanks.

Mark

</description>
    <dc:creator>Mark Reginald James</dc:creator>
    <dc:date>2008-08-29T16:04:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201857">
    <title>Complex form with ajax</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201857</link>
    <description>
does anyone know why;


= render_partial 'comments/form', :object =&gt; comment %&gt;

works and

= link_to_function 'Edit', nil, :id =&gt;
"edit_comment_#{comment.id}_link" do |page|

   - page.replace_html "comment_#{comment.id}", :partial =&gt; 'comments/
form', :object =&gt; comment

blows up basically because the object is not being fed correctly to
the partial, so i get a undefined method ticket for nil.

ps: its done in a loop (I.e: i create a link to edit one comment out
of many) therefore  i cant say comment = &lt; at &gt;comment and let the partial
sort it.

here is the partial

=== #comments/form

- form_for [form[:object].ticket, form[:object]] do |f|

  = error_messages_for :comment

   = f.text_area :body, :cols =&gt; 52, :rows =&gt; 10

   = f.submit

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>"Wolas!"</dc:creator>
    <dc:date>2008-08-29T15:54:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201856">
    <title>Bluehost hosting from scratch</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201856</link>
    <description>Hello Friends,

Can anyone help me out how to setup RoR from scratch which include hosting
part, configuring files from public folder, mongrel cluster n other thing
which is required.
From last two weeks i am trying but no success.

Regard
Abhishek P Shukla

--~--~---------~--~----~------------~-------~--~----~
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>Abhishek shukla</dc:creator>
    <dc:date>2008-08-29T15:54:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201853">
    <title>Validation doesn't work (ActiveRecord::BaseWithoutTable)</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201853</link>
    <description>
Hi,

I understand that the active_record_base_without_table is supposed to be
an easy install. So I am not sure why the validation doesn't work out of
the box (base_without_table.rb attached).  No valdn error msgs and it
takes all values.
Am I missing any steps?

I am creating a change password page where it compares old_password with
the stored password in the database. And then user can change it.

View simply has :old_password, :new_password, and
:new_password_confirmation

The Password controller:
------------------------
class PasswordsController &lt; ApplicationController

  layout 'base'

  before_filter :load_user
  before_filter :check_auth

  def new
    &lt; at &gt;password = Password.new

     respond_to do |format|
      format.html #new.html.erb
     end
  end

  def change
    puts params
    if !params[:password][:old_password].blank? or
!params[:password][:new_password].blank?
      &lt; at &gt;old_password = params[:password][:old_password]
      &lt; at &gt;new_password = params[:password][:new_password]
      &lt; at &gt;encrypted_original = &lt; at &gt;user.encrypted_password
      if !&lt; at &gt;user.compare_password(&lt; at &gt;encrypted_original, &lt; at &gt;old_password)
        flash[:notice] = 'Sorry, we could not find your old password in
our database. Please enter the old password again'
      else
        &lt; at &gt;user.encrypted_password =
Standards.encrypt_a_code(&lt; at &gt;new_password)
        &lt; at &gt;user.save(perform_validations=false)
        flash[:notice] = 'Your new password has been saved'
      end
    end
    redirect_to :action =&gt; 'new'
    end
end


The Password model:
-------------------
class Password &lt; ActiveRecord::BaseWithoutTable
  column :old_password, :string
  column :new_password, :string

  validates_presence_of :old_password

  attr_accessor :old_password, :new_password, :new_password_confirmation

  validates_confirmation_of :new_password, :message =&gt; "New password
should match confirmation"
  validates_length_of :old_password, :new_password, :minimum =&gt; 6

end

Attachments:
http://www.ruby-forum.com/attachment/2630/base_without_table.rb

</description>
    <dc:creator>Milton Wong</dc:creator>
    <dc:date>2008-08-29T15:32:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201850">
    <title>Best way to generate an API key?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201850</link>
    <description>
I'm in the middle of creating an API for our app and wanted to get
some feedback on the best way to generate unique APIKEY's for each
account.  Similar to Basecamp's API keys for example.

md5 hash of username:password? base64 encoding? random string of
characters?

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>Marston A.</dc:creator>
    <dc:date>2008-08-29T14:48:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201848">
    <title>How to validate TimeWithZone model attribute</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201848</link>
    <description>
I try to validate the format of a date field but as soon a user set a
wrong date format in the form, the date (TimeWithZone) is set to nil so
I can't validate the format.

Any suggestions?
</description>
    <dc:creator>Rémi Gagnon</dc:creator>
    <dc:date>2008-08-29T13:48:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201847">
    <title>Can a "facebook" application be written in RoR?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201847</link>
    <description>
(Disclaimer: I am new to RoR, coming from developing in ASP.NET. I am
looking to start my next project in an open source environment to 1)
cut down on the costs of tools and hosting, and 2) to learn something
new. The runners up for "something new" are RoR and PHP.)

I've thumbed through RailsSpace a number of times so I know a
community site CAN be written in RoR. What I'm more interested in is
can the home page in say facebook, wherein there are numerous webparts
doing different things, be written in RoR?  From what I've seen, and
what I've done using tutorials and books, is that RoR works
wonderfully for CRUD style pages. One page to view customers, and one
page to add/edit customers. But can one page be the host of multiple
views driven by multiple controllers? (Yes, my MVC experience is of
the newb level too. Sorry 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>ewagner</dc:creator>
    <dc:date>2008-08-29T13:31:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201843">
    <title>Need help to implement  Business logic</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201843</link>
    <description>
      Hey all,



      i am new to RoR and want to make a module FAIRPAY  Facebook
application as following...

   * The user calculates their ranking
    * They compare their ranking with their friends
    * So if I have 100 friends who have used this Fair Pay FB app how
many get paid as industry standard, how many are not( for this i have
a algorthimn)
    * &amp; where do I stand in the ranking of Effective Hourly Rate.  So
if Jiten has 3 friends, Vishal, John, &amp; Renu and their effective
hourly rates are:

Jiten = 8   Ranking (Jiten)=1
Vishal =2  Ranking (Vishal)=4
Renu = 3   Ranking (Renu)=3
John=5      Ranking (John)=2

Come up with a scoreboard displayed in FB that displays ONLY the
Ranking NOT the Effective hourly rate because Jiten, Vishal, Renu &amp;
John don't know the other friends to find out their salaries.

Please help me how to implent this Business logic........
 any suggestion will be highly appreciate.....
Thanks in advance...

Jitendra Sharma

--~--~---------~--~----~------------~-------~--~----~
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>Jitu</dc:creator>
    <dc:date>2008-08-29T10:38:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201837">
    <title>javascript files empty</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201837</link>
    <description>
Hi all,

I have moved my code from localhost to another remote host. But right
now, when I use my web application, all javascript files are empty
despite the fact I didn't touch anything in the code.

Is someone already had this problems ?
</description>
    <dc:creator>MR Damien</dc:creator>
    <dc:date>2008-08-29T12:45:23</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201830">
    <title>Model Associations (is this OK?)</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201830</link>
    <description>
Not wishing to start out on the wrong foot in the world of RoR, I would
be grateful if someone could advise me if the following setup would be
considered best practice or could it be improved upon.

I have five models:

User
Customer
Shop
Supplier
Quote

A user can sign up as a customer, shop or supplier. I've gone for a
'skinny' user table and have created belongs_to/has_many associations to
the different types of users (via user_id in their respective tables).

A new quote will be created by a customer, the quote will then need to
be accessed by the shop, who will update it, and then the supplier who
will also update it. Do I now just need a quote table with customer_id,
shop_id, supplier_id and their respective belongs_to/has_many
associations, or is there a more preferred solution?

Thanks
</description>
    <dc:creator>n0d dy</dc:creator>
    <dc:date>2008-08-29T12:20:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201823">
    <title>Manual reloading required file</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201823</link>
    <description>
Hello.

I have in my project rb-files with filenames, witch are nonqualifying
rails class and module naming.
How can I reload (re-require) such files after rails has once them
required?
I need this feauture for development special rails-extension.
--~--~---------~--~----~------------~-------~--~----~
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>veejar</dc:creator>
    <dc:date>2008-08-29T11:00:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201821">
    <title>has_many :through complex form hint request</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201821</link>
    <description>
hi everyone,
I've seen a lot of examples for complex forms which involves all kinds
of associations (railscasts, app examples on github, etc.), only
has_many :through have been left in the dust a bit.

I'm taking advantage and toying around the new :accessible =&gt; true for
mass assignments on new records; however I want to ask if somebody
have an example on how to use properly the handling of
has_many :through associations in edge.

Let's say in my create action of the interested controller I have
this:

def create
...
&lt; at &gt;report = &lt; at &gt;document.reports.build(params[:report])
if &lt; at &gt;report.save
...

Report has_many Reason :through the join table, so in my form partial
I've the classic fields_for which does pass the natural
"report"=&gt;{"when(1i)"=&gt;"2008", "when(2i)"=&gt;"8", "when(3i)"=&gt;"29",
"reasons"=&gt;[{"content"=&gt;"my reason"}]}

Remember that in Report model there's the new :accessible for mass
assignment:
has_many :report_reasons
has_many :reasons, :through =&gt; :report_reasons, :accessible =&gt; true

This works well and it does keep one clean line in controller for
building up the &lt; at &gt;report instance.
The problem with has_many :through is that every time the Report gets
saved, it creates new entries for every Reason instead of assigning
one that already exists (of course).

Do you have any hints how to manage cleanly this situation? callbacks,
real code examples, etc. can help me greatly.
--~--~---------~--~----~------------~-------~--~----~
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>Claudio Poli</dc:creator>
    <dc:date>2008-08-29T10:51:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201819">
    <title>Magic Comments and Actual Comment</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201819</link>
    <description>
I'm trying to be ready with ruby 1.9. That doesn't work with the
current version of rails, though.

If I write:

# -*- coding: utf-8 -*-
# Controller for dealing with users
class UserController &lt; ApplicationController
  # do something
end


Then, when I generated rdoc with a rake task, I get the magic comment
in every documentation part.

To avoid the problem, I can make a blank line inserted.

# -*- coding: utf-8 -*-

# Controller for dealing with users
class UserController &lt; ApplicationController
  # do something
end

What would you do with this? Nothing is harmful if you start to add a
magic comment.

-J

--~--~---------~--~----~------------~-------~--~----~
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>Hunt Jon</dc:creator>
    <dc:date>2008-08-29T10:24:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201817">
    <title>newbie question for installation</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201817</link>
    <description>
Hi all...
just something really confused.
Today I downloaded "ruby186-26.exe" according the tutorial..
then have it installed without problem
then I use "gem install rails --include--dependencies" to get rails
then when I use "rails testabc" for my first application
I got following errors:
.
..
...
      create  script/process/reaper
      create  script/process/spawner
      create  script/process/inspector
      create  script/runner
      create  script/server
      create  script/plugin
      create  public/dispatch.rb
      create  public/dispatch.cgi
      create  public/dispatch.fcgi
      create  public/404.html
(erb):9:in `template': compile error (SyntaxError)
(erb):9: syntax error, unexpected tINTEGER, expecting $end      from
c:/ror/lib/
ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generator/commands.rb:287:in
`te
mplate'
        from
c:/ror/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generato
r/commands.rb:365:in `render_file'
        from
c:/ror/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generato
r/commands.rb:363:in `open'
        from
c:/ror/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generato
r/commands.rb:363:in `render_file'
        from
c:/ror/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generato
r/commands.rb:246:in `file'
        from
c:/ror/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generato
r/commands.rb:245:in `open'
        from
c:/ror/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generato
r/commands.rb:245:in `file'
        from
c:/ror/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generato
r/commands.rb:284:in `template'
         ... 6 levels...
        from
c:/ror/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generato
r/scripts/../scripts.rb:31:in `run'
        from c:/ror/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/rails:17
        from c:/ror/bin/rails:16:in `load'
        from c:/ror/bin/rails:16

anyone has an idea？
thx..
</description>
    <dc:creator>Ramon Lee</dc:creator>
    <dc:date>2008-08-29T09:44:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201815">
    <title>Rendering partial forms</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201815</link>
    <description>
Hi, I'm trying to use partials to render some forms to create new
records and to edit existing ones.

But I'm getting the following error

Called id for nil, which would mistakenly be 4 -- if you really wanted
the id of nil, use object_id

Obviously for the edit form I need to somehow pass the id to the form,
but why is the same error occurring when I try to create a new record?

Any advice in solving either problem would be appreciated.  Thanks:)
</description>
    <dc:creator>Dan Smith</dc:creator>
    <dc:date>2008-08-29T14:20:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201812">
    <title>changing an element's class via AJAX</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201812</link>
    <description>Greetings folks,

Does anyone know how I can modify a DOM element's
class on the fly via AJAX?  Is this even possible?

I basically want to toggle a background color after the
user updates a pass/fail attribute on one of my models.

Thanks in advance.

Regards,
Franz

--~--~---------~--~----~------------~-------~--~----~
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>Franz Strebel</dc:creator>
    <dc:date>2008-08-29T08:37:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201808">
    <title>A Total Newb Question about Runt...</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201808</link>
    <description>
I was looking into the runt gem, but it's obvious I'm a total newb.

I want to know if this is possible using runt, and if someone here is
gracious enough to spell it our for a newbie.

I'm trying to figure out how to use runt to calculate a set of dates
( i.e. every monday starting on Sept 1, 2008, and repeating for, say,
8 weeks. )  and then passing those dates into an array named
'somedates', for example.

I realize this may be more of a Ruby than a RoR question.  Any help is
greatly appreciated.

--~--~---------~--~----~------------~-------~--~----~
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>infinteVerve</dc:creator>
    <dc:date>2008-08-29T05:17:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201807">
    <title>Code caching in development period</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201807</link>
    <description>
Hello!

I make such test:
I have created new RoR-project and have made one controller and on
ruby library:
app/controllers/test_controller.rb
lib/test.rb

I have tested my simple project on 3 web-servers:: thin, mongrel,
apache + passenger in
development-environment.

On all 3 web-servers I see changes in my controller without web-server
restarting.
But changes in test.rb I can see only after web-server restarting.
I understand, why i don't see changes. But I have such questions:

1. Is it possible to configure my web-server or rails so, that require
caching (code caching) for my rb-files was
turned off?
2. Can I by ruby-code reload cached rb-libraries?
3. Can I configure, that web-server doesn't cache all rb-scripts,
except some of them?
--~--~---------~--~----~------------~-------~--~----~
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>veejar</dc:creator>
    <dc:date>2008-08-29T07:42:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.rails/201805">
    <title>rake db:test:prepare</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.rails/201805</link>
    <description>
Hi
     I am using postgres And I have already development database..When I
give
rake db:test:prepare  it gives
sh: dropdb: command not found
sh: createdb: command not found
     But how ever test db is created Same happens also when rake
db:test:clone
  I would like to know why I am getting this message

Thanks in advance
Sijo
</description>
    <dc:creator>Sijo Kg</dc:creator>
    <dc:date>2008-08-29T07:19:02</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>
