-
``` ruby
class Chewy::Strategy::Demo < Chewy::Strategy::Atomic
def update(type, objects, options = {})
puts "called update for #{type} with #{objects.size} objects}"
super
end
de…
-
Opening a new issue since the old one was marked as stale and I didn't get to it in time (doesn't seem like I can re-open it).
https://github.com/rails/rails/issues/31975
@adamlogic confirmed th…
-
As I installed 2.0 version, images uploaded in the previous are not available. That's not a problem for me. The issue is that if I want to delete the images from the wall using the X button next to th…
-
I have a **n-to-n** relation between `Foo` and `Bar` and Bar is a taggable object.
``` ruby
class Foo < ActiveRecord::Base
has_many :xx
has_many :bars, through: :xx
end
class Bar < ActiveRecord:…
-
Its Friday, so entirely possible I just need a drink and some sleep. But after upgrading a legacy app to the latest and greatest, I've started to see unexpected validations when creating new records w…
-
```
What steps will reproduce the problem?
1. Have two classes where one can have a list of the other (ex. Keychain, Key)
2. Use a List to store to the to-many objects (List keys)
3. Try to run a test…
-
If possible, it would be nice to simply support something like a `pluck` option that would allow us to render data straight from the DB results, eliminating the time it takes to build ActiveRecord mod…
-
```ruby
class User < ActiveRecord::Base
acts_as_paranoid
has_many :user_permissions, -> { order_by_program_name }, dependent: :destroy
end
class Permission < ActiveRecord::Base
acts_as_p…
-
So in using ActiveTriples::Resources as "Almost ActiveRecord" objects, the only big difference I found was that because they reload on #new, there's no such thing as a record with a URI in the databas…
-
/Library/Ruby/Gems/2.0.0/gems/neo4apis-activerecord-0.8.0/lib/neo4apis/table_resolver.rb:29:in `block in identify_primary_key': Could not find a primary key for AccountContentset. (Neo4Apis::TableReso…