So do all the dynamic finders (notice it returns nil for integer value
and for string values).
This happens with every model in every app (even gems)
Just as if I called
Shop.some_missing_method()
So do all the dynamic finders (notice it returns nil for integer value
and for string values).
This happens with every model in every app (even gems)
Just as if I called
Shop.some_missing_method()
That would not return nil, it would give an exception. Which is it in
your case?
Also you did not reply to my question (on the core list) about what is
shown in the log when you call find_by_id. Does it execute some sql?
If so then what?
So do all the dynamic finders (notice it returns nil for integer value
and for string values).
This happens with every model in every app (even gems)
Just as if I called
Shop.some_missing_method()
That would not return nil, it would give an exception. Which is it in
your case?
Also you did not reply to my question (on the core list) about what is
shown in the log when you call find_by_id. Does it execute some sql?
If so then what?
Colin
Sorry, I can’t seem to find my own question and you reply…
There’s no exception, just nil, as if you call a non-existing method in
the console
Will check the log soon, good idea.