-
@fancyremarker When I add the code to the initializer,
```
/Users/yan/dev/reverb/config/initializers/garner.rb:4:in `': Base is not a module (TypeError)
```
Which is because Base is actually a Clas…
skwp updated
11 years ago
-
I'm trying to use SciRuby::Plotter (a Green Shoes GUI) with Rails 3.1.1. I have a method on one of my models called `update!`, which sends an HTTP request to get some meta info, and then applies that …
-
Visit [http://localhost:3000/queue_classic_admin/queue_classic_jobs?dir=asc&sort=args](http://localhost:3000/queue_classic_admin/queue_classic_jobs?dir=asc&sort=args) to reproduce.
```
PG::UndefinedF…
-
http://guides.rubyonrails.org/association_basics.html#the-has-many-through-association
```
class User(Model):
@has_many_through(UserDevice, "user_id", "device_id")
def devices(self):
re…
-
```
Everything seems to be translated but not the
ActiveRecord::Errors.default_error_messages.
I have restful_authentication and rolerequirement plugins installed, Nothing
else.
Any ideas?
Thanks…
-
When I run the migration [20240215143453_create_active_hashcash_stamps.rb](../blob/0.3.2/db/migrate/20240215143453_create_active_hashcash_stamps.rb) with MySQL 8.0, the following error occurs:
```
…
-
Here's what I get when creating a new recipe:
NoMethodError (undefined method `detect' for nil:NilClass):
/vendor/plugins/version_fu/lib/version_fu.rb:98:in`create_new_version?'
/vendor/plugi…
-
ActiveRecord(?) adds aliases to queries to handle ambiguity when passing the query as a nested hash:
`Son.joins(:father).where(father: { age: [50, 51] }).ransack(father_name_eq: 'John')`
throwing:
…
-
### Steps to reproduce
```ruby
# frozen_string_literal: true
require 'bundler/inline'
gemfile(true) do
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{…
-
Hello.
When do deploy with capistrano, connection with shards lost and I need to wait few minutes before it will be connected again. During this period I receive errors "PG::ConnectionBad: connection …