scott.drews-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2010-May-27 19:02 UTC
Re: Abridged summary of rubyonrails-talk-/JYPxA39Uh61r0ti3jSxuQ@public.gmane.org 0Dddd0w0d000dm - 67 Messages in 38 TopicsQQQ0.
Tyuu Y
Sent from my Verizon Wireless BlackBerry
-----Original Message-----
From: rubyonrails-talk+noreply-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Date: Thu, 27 May 2010 07:43:18
To: Abridged
Recipients<rubyonrails-talk+digest-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: [Rails] Abridged summary of
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 67
Messages in 38 Topics
============================================================================Today''s
Topic Summary
============================================================================
Group: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Url: http://groups.google.com/group/rubyonrails-talk/topics
- Question on Rails 3 : forms && ORM && ActiveModel [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/a0e5c6594de7f7ef
- [job] Ruby on Rails consultant needed in San Francisco, CA [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/cfcbce061600fc9
- RJS suitable for doing interactivities within a webpage? [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/1e8c638945b17f
- [JOBS] Ruby help needed for misc. issues [2 Updates]
http://groups.google.com/group/rubyonrails-talk/t/8c06b8954bb4f38e
- Success message when using button_to_remote [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/1ceb2f146006dc5c
- Factory Girl Alternative [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/9a8e8855dbd9e003
- two tables in one migration file? [2 Updates]
http://groups.google.com/group/rubyonrails-talk/t/ca73ac0df90cb16a
- Variant of periodically_call_remote [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/558434ab2d9b8f03
- OSS project for hyperlocal information [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/6c926bb04bb97658
- Anyone has experience with railsplayground.com hosti [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/840df3b933b577c4
- Validating with Encryption [2 Updates]
http://groups.google.com/group/rubyonrails-talk/t/b2588db63b4bb2e9
- ActionMailer + Gmail = Timeout::Error [3 Updates]
http://groups.google.com/group/rubyonrails-talk/t/cf816ae8ccf11523
- Understanding Form_for [7 Updates]
http://groups.google.com/group/rubyonrails-talk/t/8e576fd81c00b625
- Rails 3 telling me route doesn''t exist [3 Updates]
http://groups.google.com/group/rubyonrails-talk/t/b7b23e7aff863102
- Controlling or disabling cols, size etc. for text fields [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/c4cbfc7f0fa967cf
- rake:test loses working directory in 0.8.7? [2 Updates]
http://groups.google.com/group/rubyonrails-talk/t/bc7a9b37a45325a4
- Accessing session data from a background worker [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/fe5ff8f96457171b
- Guide to using SQL Server on Rails (with JRuby, in a Windows environment) [3
Updates]
http://groups.google.com/group/rubyonrails-talk/t/cb275f6e6761c9b0
- Extremely slow start up with ruby 1.9.1 vs 1.8.7 [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/f3a7e26f8ef528fe
- Does Rails 3 eliminate URL helpers for ''show''??? [2
Updates]
http://groups.google.com/group/rubyonrails-talk/t/46c34e73d06fcd02
- Rails 3 is slooowww [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/81e2719037ca8ff0
- A few questions before i start to programm [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/fcbe43cd2237704e
- hash_for_*_url documentation [2 Updates]
http://groups.google.com/group/rubyonrails-talk/t/457b8fdc5f1b5e36
- http://api.rubyonrails.org/ not working!! [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/8f5526b7035e07b9
- rails 2.3.8 and I18n [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/74225d4df440b3df
- Can I get meaningful page links using will_paginate? [3 Updates]
http://groups.google.com/group/rubyonrails-talk/t/aad0c1a3f6438781
- Ports/Connections not being released? [2 Updates]
http://groups.google.com/group/rubyonrails-talk/t/f232183c2b265569
- Rails 3 + Rspec 2 + Remarkable [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/140602ee6675ede3
- Passing ''this'' keyword as a parameter in page.call [1
Update]
http://groups.google.com/group/rubyonrails-talk/t/578bb9ed8fe4cc80
- using form_tag inside a helper [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/760bdc355c14c7c7
- RoR Opening Command Prompt? [2 Updates]
http://groups.google.com/group/rubyonrails-talk/t/a9cd62bdc3120492
- Using layouts from database [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/446c8849d81844c6
- How to pass array of values from controller to partial [4 Updates]
http://groups.google.com/group/rubyonrails-talk/t/ee3861a6a93a4593
- A possibly complex find [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/1ec70093662e7a32
- Test not passing at server [3 Updates]
http://groups.google.com/group/rubyonrails-talk/t/84c21a501e3aa2a5
- Site Navigation With Polymorphic Has Many Through [2 Updates]
http://groups.google.com/group/rubyonrails-talk/t/ddd8d0350222d068
- Safebuffer with rails 2.3.8 [1 Update]
http://groups.google.com/group/rubyonrails-talk/t/5bb8e33283157826
- top 10/most popular lists [2 Updates]
http://groups.google.com/group/rubyonrails-talk/t/6926e6173098fbaf
============================================================================Topic:
Question on Rails 3 : forms && ORM && ActiveModel
Url: http://groups.google.com/group/rubyonrails-talk/t/a0e5c6594de7f7ef
============================================================================
---------- 1 of 1 ----------
From: Alexandru Nedelcu <me-Klb3fKZVhAfYtjvyW6yDsg@public.gmane.org>
Date: May 26 11:01PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/2f729d6c6dda6cd4
I''m a Django/Catalyst user that''s evaluating Rails ... I need
a Ruby
framework, and I''m trying to see if learning Rails is worth it or I
should just go for Sinatra + various libs available.
============================================================================Topic:
[job] Ruby on Rails consultant needed in San Francisco, CA
Url: http://groups.google.com/group/rubyonrails-talk/t/cfcbce061600fc9
============================================================================
---------- 1 of 1 ----------
From: Charles Jo
<charlesjo.blackberry-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 07:47PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/adb49e889ad262ee
Apply by email to: charlesj-65eDfwRo+1xeoWH0uzbU5w@public.gmane.org
Contact:
Charles Jo
Recruiter/Sourcer
408.668.4226
charlesj-65eDfwRo+1xeoWH0uzbU5w@public.gmane.org
http://www.linkedin.com/in/charlesjo
Requirements:
- 8+ years software
============================================================================Topic:
RJS suitable for doing interactivities within a webpage?
Url: http://groups.google.com/group/rubyonrails-talk/t/1e8c638945b17f
============================================================================
---------- 1 of 1 ----------
From: Jian Lin <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 27 07:48AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/86271c6fc80769cc
RJS is very good for sending Javascript code back to the browser saying
"Your AJAX is successful and by the way you can update the UI to signal
to the user using the following Javascript I am going
============================================================================Topic:
[JOBS] Ruby help needed for misc. issues
Url: http://groups.google.com/group/rubyonrails-talk/t/8c06b8954bb4f38e
============================================================================
---------- 1 of 2 ----------
From: AdamPHX <adam.klawonn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 08:56PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/2fd2bfa98f660e94
To the Ruby community:
We are a funded startup that wants to add the following features to
our existing Rails project:
- A permalink plugin to make sure our post URLs are SEO optimized,
---------- 2 of 2 ----------
From: kannav rajeev
<rajeevsharma86-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 27 10:33AM +0530
Url: http://groups.google.com/group/rubyonrails-talk/msg/cd83680d6edfe1b8
*I can surely do these
*- Resolving any IE 8 compatibility issues,
- Add a Site Map.
*I can suggest on these
*- Adding subdomain links to our navbar,
- Uploading KML files to our map as a new
============================================================================Topic:
Success message when using button_to_remote
Url: http://groups.google.com/group/rubyonrails-talk/t/1ceb2f146006dc5c
============================================================================
---------- 1 of 1 ----------
From: Ravi Dtv <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 27 06:58AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/59b0dc1520d5a76c
Hii
In a partial I used button_to_remote for deleting record.
My record is deleted but message is not firing.
<%= button_to_remote "Delete", :url => {:controller =>
"users" ,
============================================================================Topic:
Factory Girl Alternative
Url: http://groups.google.com/group/rubyonrails-talk/t/9a8e8855dbd9e003
============================================================================
---------- 1 of 1 ----------
From: Stephen Mcginty <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 27 06:24AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/50230c0c34c222fa
Mr Marnen!
Been thinking about this today and I see now that my aversion to block
arguments was unfounded.
I think I probably went off on a tangent since I have never really
============================================================================Topic:
two tables in one migration file?
Url: http://groups.google.com/group/rubyonrails-talk/t/ca73ac0df90cb16a
============================================================================
---------- 1 of 2 ----------
From: nirosh <kunalan.kandiah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 07:27PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/b5b75dca8edb5183
i already have 10_create_comments migration file.
that file contains
create_table :comments do |t|
t.column :title, :text
t.column :foto_id, :integer
t.column :user_id,
---------- 2 of 2 ----------
From: Ar Chron <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 27 06:11AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/a113bb5cf44abb2c
Your current create_table should appear in the self.up section of the
migration... self.down should undo any operation that self.up performs
(where reasonable).
There''s nothing stopping you
============================================================================Topic:
Variant of periodically_call_remote
Url: http://groups.google.com/group/rubyonrails-talk/t/558434ab2d9b8f03
============================================================================
---------- 1 of 1 ----------
From: Ralph Shnelvar <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 27 05:27AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/7ef073f1d51350c
Does a variant of periodically_call_remote exist in which
(a) The url is invoked_now_ (instead of waiting first and then firing
off the request), and
(b) will only fire again once the previous
============================================================================Topic:
OSS project for hyperlocal information
Url: http://groups.google.com/group/rubyonrails-talk/t/6c926bb04bb97658
============================================================================
---------- 1 of 1 ----------
From: AdamPHX <adam.klawonn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 07:45PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/5f8e8b3666555da7
To the Ruby community:
CityCircles builds information tools for hyperlocal communities to
share information. Our first implementation is a platform for the
light rail/mass transit community in
============================================================================Topic:
Anyone has experience with railsplayground.com hosti
Url: http://groups.google.com/group/rubyonrails-talk/t/840df3b933b577c4
============================================================================
---------- 1 of 1 ----------
From: Mark Topper <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 27 03:15AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/365333ded8be2c6b
Marnen Laibow-Koser wrote:>> imagemagick, etc - if not theres always add $HOME/bin to the env..
> That never works properly, at least not in my experience. Sooner or
> later you need root
============================================================================Topic:
Validating with Encryption
Url: http://groups.google.com/group/rubyonrails-talk/t/b2588db63b4bb2e9
============================================================================
---------- 1 of 2 ----------
From: "tashfeen.ekram"
<tashfeen.ekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 03:40PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/a0169539c5c5f777
Is there a way to use validation however you can pass a function (or a
string) to validate on and not the actual value stored in the db?
---------- 2 of 2 ----------
From: Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 27 03:09AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/d99afb739d046bd3
tashfeen.ekram wrote:> Is there a way to use validation however you can pass a function (or a
> string) to validate on and not the actual value stored in the db?
What would be the point of that?
============================================================================Topic:
ActionMailer + Gmail = Timeout::Error
Url: http://groups.google.com/group/rubyonrails-talk/t/cf816ae8ccf11523
============================================================================
---------- 1 of 3 ----------
From: brianp <brian.o.pearce-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 04:31PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/b8d0119a46d201cc
So in my local dev environment everything works fine. Rails 2.3.5,
Ruby 1.8.6. and require the smtp_tls plugin to send mail.
In production I have Ruby 1.8.7 So the plugin is counter productive
---------- 2 of 3 ----------
From: kannav rajeev
<rajeevsharma86-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 27 06:14AM +0530
Url: http://groups.google.com/group/rubyonrails-talk/msg/5386c33de3b05922
hi brain i just cofig this one for my app .
please check out
app/models/users_application.
> rb:108:in `mail_app!''
and if possible plugin use action_mailer_tls that works for me thanks
---------- 3 of 3 ----------
From: brianp <brian.o.pearce-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 06:02PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/eef82c27e0365bd7
The controller is fine as I said it runs fine with the
action_mailer_tls plugin in my development environment. But
action_mailer_tls will cause errors on Ruby 1.8.7 which my development
============================================================================Topic:
Understanding Form_for
Url: http://groups.google.com/group/rubyonrails-talk/t/8e576fd81c00b625
============================================================================
---------- 1 of 7 ----------
From: anon_comp <neocoolstar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 11:06AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/b6228863261b9f84
OK, so I''m an absolute noob at Ruby on Rails. I''ve read a lot
of
information I can find about form_for and most of them use form_for to
create new items that get saved into the database and can be
---------- 2 of 7 ----------
From: Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Date: May 26 07:41PM +0100
Url: http://groups.google.com/group/rubyonrails-talk/msg/6901c7107d7f0bb7
> to another page that, for instance, says "You wrote: [insert user
> input here]" I''ve been having no luck whatsoever doing this
except to
> use HTML form, but I was hoping I can do this in Ruby on
---------- 3 of 7 ----------
From: anon_comp <neocoolstar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 12:04PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/b2fc25f5145f70b0
> If the form is not associated with a model then form_tag may be more
> appropriate.
Going by your suggestion, Colin, my project looks like this
trying_controller.rb:
class TryingController
---------- 4 of 7 ----------
From: Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Date: May 26 09:30PM +0100
Url: http://groups.google.com/group/rubyonrails-talk/msg/5b3ad38e2f9d0f5f
> to.html.erb:
> Name: <%= @name %>
> The submit button doesn''t work...
In what way does it not work?
Did you check the html to see if it is what you expect?
I think it should be
---------- 5 of 7 ----------
From: Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Date: May 26 10:15PM +0100
Url: http://groups.google.com/group/rubyonrails-talk/msg/cc52f269bcaff6ac
> When I hit the "OK" button nothing happens, it stays on the same
page.
>> Did you check the html to see if it is what you expect?
> I ran the server and looked at the page if that''s what you
---------- 6 of 7 ----------
From: Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Date: May 26 10:27PM +0100
Url: http://groups.google.com/group/rubyonrails-talk/msg/7438ec7f188986d9
> html for a form with a submit button. I think you may find that there
> is a </form> where you do not expect it, (separate from the one you
> have manually added).
Use View, Page Source, or
---------- 7 of 7 ----------
From: anon_comp <neocoolstar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 02:37PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/68463db7cafa63f5
Problem solved.
Thank you very much Colin for the excellent help :)
I just had to change the def to in my controller
class TryingController < ApplicationController
def index
end
============================================================================Topic:
Rails 3 telling me route doesn''t exist
Url: http://groups.google.com/group/rubyonrails-talk/t/b7b23e7aff863102
============================================================================
---------- 1 of 3 ----------
From: Adam Leonard <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 11:23PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/a151de49e7ee8e46
-- category.rb
class Category < ActiveRecord::Base
has_many :subcategories
validates_presence_of :name
validates_uniqueness_of :name
end
-- subcategory.rb
class Subcategory <
---------- 2 of 3 ----------
From: Mike <djangst-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 02:32PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/e2ddc03739526d68
Does "rake routes" show anything helpful?
---------- 3 of 3 ----------
From: Adam Leonard <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 11:37PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/afac5541b0bc1e5
Mike wrote:> Does "rake routes" show anything helpful?
It shows me that the route exists.
new_admin_session GET /admins/sign_in
{:controller=>"devise/sessions", :action=>"new"}
============================================================================Topic:
Controlling or disabling cols, size etc. for text fields
Url: http://groups.google.com/group/rubyonrails-talk/t/c4cbfc7f0fa967cf
============================================================================
---------- 1 of 1 ----------
From: Robert Walker <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 11:34PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/fb59ba08486136e5
hassan.schroeder wrote:>> Basically, I can''t get text fields or text areas to not
include size and cols attributes in the tags generated when using a form_for
.... f.text_field ...
============================================================================Topic:
rake:test loses working directory in 0.8.7?
Url: http://groups.google.com/group/rubyonrails-talk/t/bc7a9b37a45325a4
============================================================================
---------- 1 of 2 ----------
From: Brian Hartin <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 09:44PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/7e8802ac1a0c433a
Hi all,
I''m having a problem running tests with rake 0.8.7 on Windows. My
''rake:test'' can''t find the test files, e.g.
''/test/unit/xxx_test.rb''. I
traced the problem to Rake::TestTask, where it
---------- 2 of 2 ----------
From: Brian Hartin <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 10:35PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/ee21f94fa5db25ad
I figured it out. In 0.7.3, Rake forked the process to run the ruby
binary, e.g. "c:\ruby\bin\ruby.exe ...", whereas in 0.8.7 it uses the
windows ''call'' command, e.g. "call c:\ruby\bin\ruby.exe
============================================================================Topic:
Accessing session data from a background worker
Url: http://groups.google.com/group/rubyonrails-talk/t/fe5ff8f96457171b
============================================================================
---------- 1 of 1 ----------
From: PierreW <wamrewam-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Date: May 26 01:35PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/e57ba54d814fbeff
Fred and Jeff: thanks a lot I got it to "work".
Thing is… I ran some tests and concurrency is in fact a big problem:
my background workers all need to read and write from/to the session
============================================================================Topic:
Guide to using SQL Server on Rails (with JRuby, in a Windows environment)
Url: http://groups.google.com/group/rubyonrails-talk/t/cb275f6e6761c9b0
============================================================================
---------- 1 of 3 ----------
From: John Ivanoff <john.ivanoff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 04:36AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/ea5911d51f4845c9
I''m a little late but here''s what I did with window, ROR and
MSSQL
server
http://johnivanoff.blogspot.com/2010/03/new-ruby-on-rails-setup-on-windows-xp.html
cheers,
John
---------- 2 of 3 ----------
From: Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 02:49PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/d229bd0229171d0
pepe wrote:> application in a Windows environment.
> The problem: Accessing SQL Server from RoR was proving a pretty
> challenging task for my little and lazy brain.
[...]
---------- 3 of 3 ----------
From: pepe <Pepe-1PhG29ZdMB/g+20BJ0uB2w@public.gmane.org>
Date: May 26 12:42PM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/e8cd77553277c6e0
> end
> That did the trick. It seems you have to specify the primary key or
> you won''t be able to save the records.
I found the ''problem''. It was the case of the field names. All
fields
============================================================================Topic:
Extremely slow start up with ruby 1.9.1 vs 1.8.7
Url: http://groups.google.com/group/rubyonrails-talk/t/f3a7e26f8ef528fe
============================================================================
---------- 1 of 1 ----------
From: Ben Johnson <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 09:15PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/2bfe65f83eda60bc
I created a fresh new rails app, no gems, no nothing. Completely
unmodified. Doing anything that initializes rails takes 2 - 3 times
longer in ruby 1.9.1 than it does in 1.8.7. Obviously with a
============================================================================Topic:
Does Rails 3 eliminate URL helpers for ''show''???
Url: http://groups.google.com/group/rubyonrails-talk/t/46c34e73d06fcd02
============================================================================
---------- 1 of 2 ----------
From: Ryan Michael <kerinin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 10:48AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/89da6ce5f4b7ccd3
I don''t seem to have the usual *_url, *_path helpers for the show,
update, or destroy actions on resourced routes. If I make a new rails
app and add a route resources :random, I get url helpers for
---------- 2 of 2 ----------
From: Ryan Michael <kerinin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 11:20AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/9b75d546c68afce7
The documentation for ActionController::UrlFor says the helper routes
are *supposed* to be made, and I can still generate the routes using
ActionController::PolymorphicRoutes#polymorphic_url - I''m
============================================================================Topic:
Rails 3 is slooowww
Url: http://groups.google.com/group/rubyonrails-talk/t/81e2719037ca8ff0
============================================================================
---------- 1 of 1 ----------
From: anywho <eydaimon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 10:55AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/361ae302e7010a94
Why is rails3 so slow to initialize?
I am running 1.9.1 which I know is known to give some rails3 issues.
Can that be the reason? Here''s a very very basic test.
$ rvm 1.9.1@rails2
============================================================================Topic:
A few questions before i start to programm
Url: http://groups.google.com/group/rubyonrails-talk/t/fcbe43cd2237704e
============================================================================
---------- 1 of 1 ----------
From: Roelof Wobben <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 07:17PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/f08ec5255e7a8bdc
Hello,
I want to learn ruby.
As a learning experience I want to write a programm which people can put
the results of games in a tournament. The programm produces which team
is first and so on.
============================================================================Topic:
hash_for_*_url documentation
Url: http://groups.google.com/group/rubyonrails-talk/t/457b8fdc5f1b5e36
============================================================================
---------- 1 of 2 ----------
From: Ralph Shnelvar <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 03:53PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/5a711ee83c4d0d3e
Is there any documentation for hash_for_*_url arguments?
What does this function do?
--
Posted via http://www.ruby-forum.com/.
---------- 2 of 2 ----------
From: Philip Hallstrom <philip-LSG90OXdqQE@public.gmane.org>
Date: May 26 09:33AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/815a4e64eef8c40e
On May 26, 2010, at 6:53 AM, Ralph Shnelvar wrote:
> Is there any documentation for hash_for_*_url arguments?
> What does this function do?
It returns a hash that makes up the pieces of the
============================================================================Topic:
http://api.rubyonrails.org/ not working!!
Url: http://groups.google.com/group/rubyonrails-talk/t/8f5526b7035e07b9
============================================================================
---------- 1 of 1 ----------
From: Philip Hallstrom <philip-LSG90OXdqQE@public.gmane.org>
Date: May 26 09:14AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/520e5b84785525e9
You might also grab a local copy from here: http://railsapi.com/
On May 25, 2010, at 2:27 PM, James Whiteley wrote:
============================================================================Topic:
rails 2.3.8 and I18n
Url: http://groups.google.com/group/rubyonrails-talk/t/74225d4df440b3df
============================================================================
---------- 1 of 1 ----------
From: "Loïc Guitaut"
<flink-2tgbwyfBQGJg9hUCZPvPmw@public.gmane.org>
Date: May 26 06:13PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/b77a1aaa2831a238
Hi all!
I''m having some troubles since I''m using rails 2.3.8 and XSS
plugin. All data
from I18n yaml files is now escaped! That''s not what I want, and it
seems
pretty logic that data from these
============================================================================Topic:
Can I get meaningful page links using will_paginate?
Url: http://groups.google.com/group/rubyonrails-talk/t/aad0c1a3f6438781
============================================================================
---------- 1 of 3 ----------
From: RonPhillips
<rphillips-9+Xt05h8050e0BZhvJFe1KxOck334EZe@public.gmane.org>
Date: May 26 06:46AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/35cf8c9ae04b8e50
Let''s say you search for "dengue fever." Your search returns
137
pages, ordered by date, but labeled with a page number. You decide to
look at articles written just before and after the Haitian
---------- 2 of 3 ----------
From: Frederick Cheung
<frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 08:05AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/5167cc3bf2921f83
> facto standard.
> How do we get semantically-meaningful page links using will_paginate?
> Or should I stick with the paginator gem?
You can supply a custom LinkRenderer class to
---------- 3 of 3 ----------
From: Robert Walker <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 06:12PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/7789676be376a2f2
RonPhillips wrote:> the first post on the page displayed as the page link. Start on page
> "Jan 7, 2010" and read forward. That''s easy. Jakob
Nielsen agrees with
> me, so there!
============================================================================Topic:
Ports/Connections not being released?
Url: http://groups.google.com/group/rubyonrails-talk/t/f232183c2b265569
============================================================================
---------- 1 of 2 ----------
From: Pieter Hugo <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 12:54PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/64b0065cf242b2ff
ok - have done some more research and I can now duplicate the problem.
if I run
(0..1000).each {|i| Juggernaut.show_clients ; puts i }
from a fresh Juggernaut restart it crashes after 130
---------- 2 of 2 ----------
From: Peter De Berdt
<peter.de.berdt-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org>
Date: May 26 06:06PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/71bd0280c31abed1
On 26 May 2010, at 12:54, Pieter Hugo wrote:
> dont get flushed.
> When it hangs my computer sits at 90% cpu usage.
> Any ideas? anyone?
Could this be related to running an old version of
============================================================================Topic:
Rails 3 + Rspec 2 + Remarkable
Url: http://groups.google.com/group/rubyonrails-talk/t/140602ee6675ede3
============================================================================
---------- 1 of 1 ----------
From: Ho-Sheng Hsiao
<hosheng.hsiao-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 06:32AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/c1027ebfe88fd120
For those keeping track, I have Remarkable 4.0.0.alpha2 released:
remarkable
remarkable_activemodel
remarkable_activerecord
How to use the simplified loading:
============================================================================Topic:
Passing ''this'' keyword as a parameter in page.call
Url: http://groups.google.com/group/rubyonrails-talk/t/578bb9ed8fe4cc80
============================================================================
---------- 1 of 1 ----------
From: Rails Learner <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 03:22PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/3652a28da73a160e
Thanks Fred!!!!
"page.literal(''this'')" did the trick.
I am working on a fast track project and didn''t had much time to figure
this out.
I heartily appreciate your reply.
============================================================================Topic:
using form_tag inside a helper
Url: http://groups.google.com/group/rubyonrails-talk/t/760bdc355c14c7c7
============================================================================
---------- 1 of 1 ----------
From: Pablo Gonzalez <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 02:41PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/d2bfc5e13c826e6a
Ball, Donald A Jr (Library) wrote:
> what would I put inside the block? In my other helpers, I build up a
> string and return it.
> - donald
I know this post is too old, but I haven''t seen
============================================================================Topic:
RoR Opening Command Prompt?
Url: http://groups.google.com/group/rubyonrails-talk/t/a9cd62bdc3120492
============================================================================
---------- 1 of 2 ----------
From: prionko <prionko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 02:58AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/810bdc35ac3dec7d
You can use system system method in the kernel class of ruby for this
purpose
look at this link
http://ruby-doc.org/core/classes/Kernel.html#M005971
Hope this helps you.
-Saurav
---------- 2 of 2 ----------
From: anon_comp <neocoolstar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 05:29AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/9f04fb120756d71d
Thanks everyone for the information. I got it to work :)
============================================================================Topic:
Using layouts from database
Url: http://groups.google.com/group/rubyonrails-talk/t/446c8849d81844c6
============================================================================
---------- 1 of 1 ----------
From: swetha <swetha.anguluri-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 04:53AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/f28114f82fe2c3ce
Hi,
We generally use different layouts/themes for our accounts of gmail/
orkut. In the same i want my rails application to use different
layouts choosen by a user.
All templates are saved in
============================================================================Topic:
How to pass array of values from controller to partial
Url: http://groups.google.com/group/rubyonrails-talk/t/ee3861a6a93a4593
============================================================================
---------- 1 of 4 ----------
From: Ravi Dtv <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 10:17AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/6dd9a66921f12244
Pieter Hugo wrote:
> If you just want to pass stuff to the partial you might want to look at
> '':locals =>''
> What are you actually trying to achieve?
Thank you for your reply.
---------- 2 of 4 ----------
From: Michael Pavling <pavling-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 09:19AM +0100
Url: http://groups.google.com/group/rubyonrails-talk/msg/f4ad59f22d5c0dcf
> use like this it will send the @myfriendlogin array to partial
> format.html { render :partial => ''users/dispfriends'',
:locals
> =>{ :user=>@myfriendlogin}
No.
There''s no need to use
---------- 3 of 4 ----------
From: Ravi Dtv <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 11:32AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/b7f86c137281b7d1
Michael Pavling wrote:> the view), or do it yourself inside the view to render a partial
> several times there (see page 119 of the 3rd edition of "Agile Web
> Development with Rails").
---------- 4 of 4 ----------
From: Joao Silva
<joaodasilvacunha-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Date: May 26 04:49AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/d2b8365b2d59fb12
Ravi Dtv, How did you done it after all?
Thanks
============================================================================Topic:
A possibly complex find
Url: http://groups.google.com/group/rubyonrails-talk/t/1ec70093662e7a32
============================================================================
---------- 1 of 1 ----------
From: slippy <handley88-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 04:28AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/6cf3b470d068a911
Thanks, I will give this a try!
Alex
============================================================================Topic:
Test not passing at server
Url: http://groups.google.com/group/rubyonrails-talk/t/84c21a501e3aa2a5
============================================================================
---------- 1 of 3 ----------
From: Hemant Bhargava <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 10:44AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/efad91f2b95dde4e
Hello champs,
I have a problem that all of my test cases are passing on my local
machine but many of them are not passing on server. Is this usually
happens or i am doing anything wrong?
--
---------- 2 of 3 ----------
From: Frederick Cheung
<frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 03:04AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/96c0551517cb6567
> I have a problem that all of my test cases are passing on my local
> machine but many of them are not passing on server. Is this usually
> happens or i am doing anything wrong?
---------- 3 of 3 ----------
From: Hemant Bhargava <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
Date: May 26 12:08PM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/d81d6079d50ac931
Frederick Cheung wrote:
Yeah dude, I was doing it wrong only. Instead of specifying relative url
in production.db, i specified that in environment.rb
Anyhow resolved that.. Thanks Cheung
============================================================================Topic:
Site Navigation With Polymorphic Has Many Through
Url: http://groups.google.com/group/rubyonrails-talk/t/ddd8d0350222d068
============================================================================
---------- 1 of 2 ----------
From: Tilde Equals <tildeequals-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 01:09AM -0700
Url: http://groups.google.com/group/rubyonrails-talk/msg/9327f151d12128f
Josh,
We''re doing something similar, except that instead of using childable
and parentable, we''re using awesome_nested_set. It enables you to
have sub_categories within sub_categories, etc., and
---------- 2 of 2 ----------
From: Josh Cheek <josh.cheek-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 04:49AM -0500
Url: http://groups.google.com/group/rubyonrails-talk/msg/8d165fd183db3ff2
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
I appreciate the suggestion, I had previously used awesomer nested set on a
============================================================================Topic:
Safebuffer with rails 2.3.8
Url: http://groups.google.com/group/rubyonrails-talk/t/5bb8e33283157826
============================================================================
---------- 1 of 1 ----------
From: "Loïc Guitaut"
<flink-2tgbwyfBQGJg9hUCZPvPmw@public.gmane.org>
Date: May 26 11:21AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/e53b144b24983d31
Hi there!
I''ve just migrated from rails 2.3.5 to 2.3.8 and now I have a lot (and
I mean
a lot!) of deprecation warnings like this one: "DEPRECATION WARNING:
ActionView::SafeBuffer is
============================================================================Topic:
top 10/most popular lists
Url: http://groups.google.com/group/rubyonrails-talk/t/6926e6173098fbaf
============================================================================
---------- 1 of 2 ----------
From: Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Date: May 26 09:10AM +0100
Url: http://groups.google.com/group/rubyonrails-talk/msg/1e739848e553249e
> is a lot of queries and of course, its the home page, which I wanna
> make sure loads fast.
> What''s the best way to optimize it?
I would not worry about optimising it until it becomes clear
---------- 2 of 2 ----------
From: tramuntanal <tramuntanal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: May 26 10:22AM +0200
Url: http://groups.google.com/group/rubyonrails-talk/msg/ce0236f124b7d33a
You can also have a background job that queries all models for top 10
results and save them into top_10 table. This job may refresh the
top_10 table once a day for example (late at night?).
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.