Looks like _compile_select
is deprecated and get_compiled_select
is not added to 2.1.0. Are there any other functions like those two? And also I am curious. Is there any particular reason to not adding get_compiled_select()
to Active Record and removing _compile_select
?
相关问题
-
undefined method `type_cast' for #
- Rails how to handle error and exceptions in model
- Is there a way to remove the id column in a subseq
- How to use strip_tags with second parameter in Cod
- Scope on each last elements of a has_many relation
相关文章
- how to call a active record named scope with a str
- Private static variables in php class
- Got ActiveRecord::AssociationTypeMismatch on model
- How to determine if association changed in ActiveR
- Does rails support mysql json data type
- GuzzleHttp Hangs When Using Localhost
- Codeigniter not logging
- Loading custom config file into a Codeigniter libr
I've added get_compiled_select() to DB_active_rec.php and it seems to work without problem, but i wouldn't remove _compile_select() since it's used in many other methods.
The pull request for adding this method is here, with some other useful methods like:
https://github.com/EllisLab/CodeIgniter/pull/307
if you want just the method, it's just this: