ruby-on-rails-2
with_scope raising "MySQL::Error Unkown column" error in RoR 2.3.11
Given this model in legacy code, with RoR 2.3.11: class Assignment < ActiveRecord::Base belongs_to :source_person[详细]
2023-03-22 23:43 分类:问答How to develop the simple chat application in my project using with ruby on rails 2.3.11
I need to develop a simple chat application in my app. It should lo开发者_Go百科ok like gtalk and it should support the two way chat.[详细]
2023-03-22 07:51 分类:问答last version of (gem) working with rails 2.3
I want to know what version of a specific gem is working with the last Ruby on Rails 2.3.x (2.3.13 as I am writing) and which one is the last supported officially.[详细]
2023-03-20 17:28 分类:问答rvmrc file not working
I have created a gemset named rails2ruby192 and i have added below code in my .rvmrc file in root directory but it is not loading the gemset.[详细]
2023-03-20 15:39 分类:问答How can I update attributes in after_save without causing a recursion in rails 2.3?
I\'ve got a model which has a video attached with Paperclip. After it saves I use the saved video to generate a thumbnail. I need to do this after every save, even when a new video hasn\'t been upload[详细]
2023-03-19 20:42 分类:问答404 Custom Error Pages in Rails 2.3
I\'m overriding render_optional_error_file to render a custom page whenever there\'s an error. This works great if there\'s an error within the application, it renders \"shared/error.erb\" without pro[详细]
2023-03-15 23:18 分类:问答Is it possible to pass hints to database?
Using rails 2.3.4, is it possible to pass a hint to the database optimizer? I would like 开发者_如何转开发to be able to force the use of a particular index for testing purposes.[详细]
2023-03-11 15:55 分类:问答Polymorphic Assocations using Integer ID type fields
I have a table Foo that has a polymorphic belongs_to association called bar. The foos table has the standard bar_id column. However, instead of a string-based bar_type column, I have an integer bar_ty[详细]
2023-03-08 05:13 分类:问答heroku rails "load error expected app/app/model" instead just "app/model"
I have a Rails 2 application running well on my local machine at the moment. But fails on Herok开发者_JAVA技巧u, here\'s the log: http://pastie.org/1957572[详细]
2023-03-08 02:24 分类:问答Undefined method `name' for "SystemTimer":String
I am having a problem getting an old Ruby on Rails 2 app that hasn\'t worked in a year to work. I\'m trying to run rake test:functionals in the root of my project directory, but am getting undefined[详细]
2023-03-07 07:35 分类:问答