I\'m currently getting the error: No route matches [GET] \"/tenant_admin\" I was using something like: http://example.com/accounts/1/tenant_admin
I am calling the date a record was created at in a basic app running Rails 3.1. <%= @issue.created_at %>
Here is what I\'m trying to do class Question has_many :votes end class Vote belongs_to :question end I want to find all questions ordered by the numb开发者_Go百科er of votes they have. I want to
I get the following error when i try to load the rails console in 3.1. why do i get this? am i doing something wrong?
I\'m in the process of upgrading a Rails 3 project, which uses Devise for authentication, to a Rails 3.1 mountable Engine. After the upgrade, Devise doesn\'t seem to be initialized correctly, raising
I am trying to do Ajax login with Devise, as explained here: http://jessehowarth.com/2011/04/27/ajax-login-with-devise#comment-5 (see comment from jBeasley).
I am suddenly getting an sqlite3 error: ActionView::Template::Error (dyld: Library not loaded: /usr/lib/libsqlite3.0.dylib
I have this scope: scope :total_quantity, sum(\'quantity\') When I run: MyModel.total_quantity I get this error:
Old code, works fine in Rails 3.0 on JRuby 1.6.4 with PostgreSQL 9.0: class User < ActiveRecord::Base
In a plugin I am writing I am using alias to override one of the default Rails validators like so: # Alias the original validator so it\'s still available under a different name