-
I am getting error on field 'data'=>$region. Please give the example data for this input. I am passing object and getting error:
```
Call to a member function asArray() on a non-object
1. in F:\…
-
should each `belongs_to` have a corresponding `has_one` or `has_many` in the associated model?
should User model have `has_one :collaborator`?
-
There is a problem in how ActiveRecord currently treats temporal columns. In particular, changes to these columns may be left unnoticed. For example, let's say I have a "Start" column in my table, and…
-
```
What steps will reproduce the problem?
1. Create a sqlite db called main.db, and put it in the application directory.
2. Create a table in the database called "People" with id, fname, and lname
…
-
I was playing around with Signalman -- specifically to log and visualize queries in development. Unfortunately, noticed that some queries weren't being logged; in my particular case, I first noticed i…
-
# Description
Right now we assume a field named after whatever model you are adding preferences to. For example, User expects to have user_preferences. It would be nice to have the option to have thi…
-
https://gist.github.com/2252997
Is there any way to fix schizo to prevent the infinite loop from happening in the gist above? I know I could just rename the method but I think this is one of those e…
-
I am curious why this change was made? - `Changed async reindex to fetch ids instead of using ranges for numeric primary keys with Active Record`
...and if it's possible (or perhaps makes sense) to…
kapso updated
11 months ago
-
[Documentation taken from here](https://guides.rubyonrails.org/v4.2/active_job_basics.html)
![image](https://user-images.githubusercontent.com/12995869/48007464-fa061480-e117-11e8-9b35-d4ee988739e6…
-
when i remove searchlogic gem everything is fine...
Shop.featured_message_blocked is a boolean column that in this case should be false
- User.first.shop.featured_message_blocked -> false
- User.…