-
In your UsersController, you have too much logic in there. You want controller actions to be a few lines at most. Try moving all the twitter and google stuff out into the models or to other objects …
mikel updated
9 years ago
-
Currently the course deletion takes a long time because we rely on callbacks to delete all course related objects. This requires the server to instantiate each record in ActiveRecord which is time and…
-
Since today on my production server, I'm experiencing a weird error that seems to come from `fog-was`'s `copy_object` method call. I've checked other library invovled and none of them have a method na…
-
Hey folks,
I might be insane, but I'm experiencing something weird when using `#deep_merge`. In a tiny Rails 7 app, I have a `Diagram` ActiveRecord model.
```ruby
diagram = Diagram.find(1)
pu…
-
Hey,
I'm unable to figure out if angular-activerecord supports nested attributes.
I had to use `$http` to work around the issue but was hoping that either there is a feature for nested attributes or m…
anlek updated
9 years ago
-
### Steps to reproduce
Bug report script attached
### Expected behavior
As per docs, when setting the option has_many :validate => false, the associated objects will not be validated when saving the…
-
As far as I can tell from source code there is no memoization of fetched cache value for later cached method calls on the same object. Is it on purpose?
To be honest, this behavior seems to be pret…
Envek updated
10 months ago
-
The [documentation](https://github.com/doctrine/doctrine2/blob/master/docs/en/reference/partial-objects.rst) tells that it is not possible in PHP:
> In PHP though this is not possible, so there is no…
-
```
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…
-
Models have associations with other models, and attributes don't cover this case very well (especially when initializing a model with a deeply nested hash).