-
Hey there Neel.
So, I finished updating all of my models to reflect the list of relationships we established yesterday. Please have a look and tell me if they are all correct. So, once I did that, I …
-
I'm trying to import our articles from crossref. I can see the crossref import jobs accumulating in sidekiq, but nothing happens - Sidekiq isn't processing anything.
Sidekiq is running with no error…
lsh-0 updated
9 years ago
-
Instances of the Change Detect Agent appear to be working, but also throw exceptions of the form "Exception during receive. Event(#70191681695620) expected, got Event(#70191632320580):" along with the…
-
I am trying to create API for my Rails app. I have these following controllers.
![](http://i.stack.imgur.com/0EdEW.png)
I have the following inheritance
/app/controllers/api/api_controller.rb
```
…
-
the extension/replacement of ActiveRecord through \Yii::$classMap['yii\db\ActiveRecord'] requires the replacement to have the same functions, as BaseActiveRecord does not have the same functions out o…
-
Hi,
I found weird behavior inside oracle_enhanced_connection.rb (version 1.3.0) file, from where i always get error mentioned in title. I looked into source code of this file at line 68, which states …
-
Trying upgrading to Rails 4 and I get this upon initializing an object that has encrypted attributes.
```
ArgumentError: wrong number of arguments (2 for 1)
/Users/tscott/.rvm/gems/ruby-2.0.0-p247/ge…
-
Hi. I'm trying to set Paranoia with multi table inheritance gem(active_record-acts_as) in my project. But this seems to be tricky.
My models:
### Postable.rb
``` ruby
class Postable < ActiveRecord::…
-
Rails has a feature called Single Table Inheritance that allows you to subclass ActiveRecord models via a type field, and when that particular record is loaded from a database, it will be instantiated…
-
In Rails 4.1.6, when calling becomes! on an association, the single table inheritance column in the changed_attributes hash is nil instead of the previous value.
I have a unit test below that tests 4…