Legacy version of the Ruby on Rails web development framework.
I need to query comments made in one day. The field is part of the standard timestamps, is created_at. …
ruby-on-rails rails-activerecord ruby-on-rails-2I want to check when my object @objectname is not equal to null to show the values of the @objectname …
ruby-on-rails ruby ruby-on-rails-2I'm running a Rails 2.3.5 application and upon running script/server I am shown the following: ./script/../config/../vendor/rails/railties/…
ruby-on-rails ruby-on-rails-2I am trying to run a Rails two app with Ubuntu 10.04 server, sphinx, myql2 version 0.2.7 and percona server 5.5 (Myslql 5.5). mysql2 …
mysql ubuntu mysql2 ruby-on-rails-2 libmysqlI looked around and couldn't find any answers to this. All answers involved counts that did not use a GROUP …
ruby-on-rails activerecord ruby-on-rails-2I added in the route file: map.show_book "/show_book/:name/year/:year", :controller => "book", :action => "show_…
ruby-on-rails routing rails-routing ruby-on-rails-2I have a default time zone setup for the rails application. And an instance of the Date object. How can …
ruby-on-rails date timezone activesupport ruby-on-rails-2I have a model MyModel with a serialized attribute a, describing an array of symbols. This code works : <% form_…
ruby-on-rails ruby-on-rails-2I have a view from which I make an ajax request to the controller and after the action is successfully …
ruby-on-rails ruby-on-rails-2I did a query in MySql but is working in Rails and mysql2 gem. Here is the information: http://sqlfiddle.…
ruby-on-rails ruby ruby-on-rails-2 mysql2