Displaying 20 results from an estimated 2000 matches similar to: "Which version of Ruby for Rails 2.0.2?"
2008 Mar 31
10
Paginate with Rails 2.0.2 question
Hi,
So I''m using @post_pages, @posts = paginate :posts, :per_page => 10
to paginate.
But I have rails 2.0.2 on my VPS. Now this version of paginate throws
an error. What happened to classic pagination and what is done now?
Thanks,
Ron
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2003 Jan 09
1
Troubleshooting Samba - (2)
I am running SuSE V8.0, and Samba 2.2.7a on a small
network server.
I have been having problems relating to sorting out printing from an NT4
workstation to a laser printer on the Samba server.
I had to reboot my Windoze PC and am logged in as myself (I have
Administrator rights). I can see the shares by looking for the computer from
Windows explorer using the ip 192.168.0.5 and can proceed
2008 Mar 11
6
saving an ActiveRecord without trigging the callbacks
Hello,
How can I save an ActiveRecord without trigger before_save,
after_save, etc?
Thanks for the help.
--~--~---------~--~----~------------~-------~--~----~
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@public.gmane.org
To unsubscribe from this group,
2008 Jan 02
20
fastthread no longer needed?
I''m confused. Wasn''t threading fixed in 1.8.6, negating the need for
fastthread? Why is fastthread still a requirement of Mongrel? Just
curious. :)
2008 Jul 22
1
Bizarre IE 7 error - res://ieframe.dll/dnserrordiagoff.htm
Hi all,
Ruby 1.8.6-p111
Rails 1.2.6
Windows XP Pro
IE 7
Posting this for posterity''s sake, and to see if anyone else hit this
issue.
I sporadically hit a strange error in IE7 when I hit a submit button
on a form within a Rails app.
res://ieframe.dll/dnserrordiagoff.htm
Further investigation revealed that, when I hit this error, it was
never reaching the controller, which I thought
2008 Feb 25
6
Event Calendar/Scheduler Implementation
Hi there.
I am a RoR newbie and come from the Java/C# perspective. After digging
into Rails I would like to convert an ASP.NET project -that served as
a protoype- to RoR.
The only thing that I havenĀ“t got a good solution for is handling
calendar events. With that I specifically mean creating, moving an
event or a set of events as well as recurrence handling - similar to
Google Calendar if you
2008 Mar 01
3
Possible bug when creating a Ferret::Search::Sort object?
I may have run across a bug in Ferret: if throws a segmentation fault
when I try to create a Sort object using the default fields (SCORE and
DOC_ID), but setting reverse to true.
Here''s the minimal example:
#!/usr/bin/env ruby
require ''rubygems''
require ''ferret''
Ferret::Search::Sort.new
Ferret::Search::Sort.new(
[
2008 Oct 24
4
AR object return nil on save
Hi!
I''m upgrading existing app from Rails 1.2.6 to 2.1.2. I have
encountered following problem with AR objects.
Model definition did not change and with 1.2.6:
params={}
params[:flight] = "1111"
params[:airline] = "Air France"
params[:luggage] = 0
r=Reservation.new params
r.save
is working code, new Reservation. With the same dataset, changing only
2008 Jan 03
7
error message after upgrading ruby
hi
first off all a happy new year to you all.
I''m using netbeans 6 and ruby 2.02.
at this point I get my index page in my view in this format
index.html.erb and not like before index.rhtml
when I enter localhost:3000/lijsten/index I get the following error
message
Errno::EBADF in LijstenController#index
Bad file descriptor - connect(2)
RAILS_ROOT:
2008 Mar 11
4
Host recommdations
Hi
I want to host a simple site with Ruby
quickly
at first no DB - just a site that can run a Hello Ruby script
will use a template page
Also I am very new to this so help will be need
any suggestions for a Ruby Hosting service?
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
2008 Mar 07
6
creating a model registry
Hi all,
This is a problem I''ve approached so many times and always worked
around, that now I want to solve it once and for all. Say I have
something like this:
---
class X < ActiveRecord::Base
acts_as_wacky
end
module Wackinator
class ControlAllWackos
@@wackos = []
def self.kill_wackos
@@wackos.each(&:kill)
end
end
def acts_as_wacky
2008 Jan 01
1
Migrations under Rails 2.0.2
Have you got migrations to work under Rails 2.0.2. I couldn''t get the
migration to update schema.rb. You too?
http://dev.rubyonrails.org/ticket/10661
f
--~--~---------~--~----~------------~-------~--~----~
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
2008 Feb 28
2
change drop down list to radio buttons
In my RoR app I would like to change a drop down list, which dispays a
list of colors selected from the database. Instead I would like to
create a radio button for each color. The user is allowed to check one
color and this will be saved back into the database as the color for
this user.
I don''t know how to do this. Currently it looks like this:
<%= select(:user, :color_id,
2010 Feb 26
4
Boot R
Hello,
This is my first post, and my english is not very good, but I will try...
I have a problem with boot the R. After that I install ubuntu 9.10 the R
don't run. When I open the terminal and digit R, appear the message:
*/usr/lib/R/bin/exec/R: error while loading shared libraries:
libgfortran.so.3: cannot open shared object file: No such file or directory*
What's happening?
Can
2008 Feb 17
15
A bug in wxRuby. Segmentation fault in random situations.
Hello,
I wrote an application in wxRuby:
ruby 1.8.6
wxruby 1.9.4 installed from gem
windows xp sp2
After several minutes of running it crashes with the following error:
"c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27: [BUG]
Segmentation fault
ruby 1.8.6 (2007-03-13) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual way.
Please contact
2008 Feb 03
0
[ wxruby-Bugs-17742 ] aui/aui.rb example program exhibits a memory leak
Bugs item #17742, was opened at 2008-02-03 04:04
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=17742&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Dale E. Edmons (linuxfan)
Assigned to: Nobody (None)
Summary: aui/aui.rb example program exhibits a memory leak
Initial Comment:
2008 May 20
4
New to "Agile Development" - should I use RSpec or Test::Unit?
Hi everyone, I''m just now really starting to look into Agile
Development, and so I''m trying to gauge what the Rails community''s
preference is in regards to using RSpec versus the built-in Test::Unit.
I haven''t really delved much into testing in the past, I''m sad to say,
but I understand why it''s beneficial to writing maintainable code and
2012 Oct 31
0
ACPI Error: No handler for Region [POWS] (0xffffff000994f380) [IPMI] on Cisco UCS C200 M2
Hi,
I am getting the following error on server Cisco UCS C200 M2 running
FreeBSD 8.3 amd64
Oct 31 02:15:22 ucs200 kernel: ACPI Error: No handler for Region [POWS]
(0xffffff000994f380) [IPMI] (20101013/evregion-487)
Oct 31 02:15:22 ucs200 kernel: ACPI Error: Region IPMI(0x7) has no
handler (20101013/exfldio-382)
Oct 31 02:15:22 ucs200 kernel: ACPI Error: Method parse/execution failed
2008 Jan 03
23
deployment survey
Hello Mongrels,
Building on the last messages about Fastthread, can we get a detailed
survey of the different ways people are deploying their applications?
It will help with near-future Mongrel development.
Please include the following things:
* Framework, if any (Camping, Merb, Rails, Nitro, Ramaze, IOWA, Rack...)
* Mongrel version
* Mongrel handlers used (rails, dirhandler, camping,
2008 Mar 02
2
check_box_tag remote_function
I have a collection of check_box_tags that look like the following:
<% for item in @items %>
<%= check_box_tag "item[item_ids][]", item.id, false, {:onchange =>
remote_function(:url => update_items_path, :with => "''items='' +
escape(value) "} %>
<%= item.name %>
<% end %>
My question is, how do I send all of the current