Legacy version of the Ruby on Rails web development framework.
Questions tagged [ruby-on-rails-2]
746 questions
-1
votes
1 answer
How to run rails2 app on passenger and apache2 in centos
I have an old Rails 2.0.1/Ruby 1.8.7 app it had run in a production environment on centos 6 using thin and appcahe2 server.But i need to run on Passenger and Apache2 server,is there any possibilities to run on it..?
Thanks for Your Help....

Sathibabu P
- 649
- 1
- 7
- 15
-1
votes
2 answers
session + devise authentication
i want a authentication ,many people to login with a particular username and password at the same time and it is not good , where User A logs in with username = sammy and password = sammy123, User B cannot login with the same username = sammy and …

Karthik G V
- 43
- 6
-1
votes
2 answers
how can i use twitter-bootsrap in rails 2.3.5?
I'm pretty new in Rails and I want to know whether twitter-bootstrap is available for rails 2.3.5 with ruby version 1.8.7. How can I use it if twitter-bootstrap is available in lower versions of rails.

jithya
- 428
- 4
- 13
-1
votes
1 answer
Issue creating dynamic params
I did an app using rails with ranges of times and I'm trying to create a dynamic params to not repeat all my times for every year, I just want to select the year and the query from my controller with do all.
Here is my table:
|policies|
|id| …

Carlos Morales
- 1,137
- 3
- 15
- 38
-1
votes
1 answer
Plugin is present or not, in my rails application
I'm working on rails 2 application, plugins mostly.
I've two plugins, in my first plugin I've to check if the second
plugin is present, how can I do it?
For now, I'm using in report_designer, the first plugin.
Controller : custom_reports
in…

Nithin
- 3,679
- 3
- 30
- 55
-1
votes
3 answers
Ruby Ternary If Bug
What I'm trying to do is print Pending Quotes if the count is 0 or >1 and Pending Quote if the count ==1 but if the count is >1, the output is 2 true, the other two cases work fine though and I can't see anything obvious.
<%= @pending.nil? ? '0' :…

martincarlin87
- 10,848
- 24
- 98
- 145
-1
votes
1 answer
Canvas-lms update rails 2.3.5 to 3.2.12
I am going to work on the open source Canvas-lms. Its using rails 2.3.5 but i am familar with rails 3.2.12.
How to upgrade rails 2.3.5 to rails 3.2.12.
What are the challenges.
What is the best way to do it.

samuel santhosh
- 7
- 5
-1
votes
3 answers
Downgrading Michael Hartl's Rails application to Rails 2
I built (hacked) my web app by extending Michael Hartl's Rails 3 tutorial, only to discover that my web hosting service requires Rails 2.3.8. I am a complete newbie to Ruby/Rails, and was wondering how feasible a downgrade from Rails 3.x to Rails…

ntaj
- 311
- 2
- 21
-2
votes
1 answer
How to use lower version of rails
I am working on a project that requires Rails 2.3.3. I have Rails 5.2.2 already installed in my system.
I am asking how to install Rails 2.3.3 and work on that project. Any links would be much appreciated.

Aditya Tiwari
- 204
- 4
- 17
-2
votes
2 answers
Find if there is a line on table : count or first?
I wish to do some optimizations on my SQL queries.
Without doing a performance test for it, what query is the most time-consuming ? I am almost sure they return the same result.
!MyClass.find(:first, :conditions => c).nil?
MyClass.count(:conditions…

pierallard
- 3,326
- 3
- 21
- 48
-3
votes
1 answer
undefined method `name' for "aaronh-chronic":String
Im getting this error on bundle install
undefined method `name' for "aaronh-chronic":String (NoMethodError)
rail version 2.3.14

Ghaus
- 1
- 3