forked from andrewroth/select_with_include
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
36 lines (20 loc) · 794 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
README for select_with_include
==============================
This gem is provides a patch for ActiveRecord to enable the use of the :select
option used in combination with the :include option.
In the current version ActiveRecord just ignores any :select option if the
:include option is specified.
== Usage:
The support of the :select provided from this gem is limited.
The syntax supported for the select is only a string in the form
"table1.column1, table1.column2, table2.column4"
syntax like
"table1.*, table2.column1, table2.column4"
is also allowed
At the moment functions or custom calculated field are not supported.
== Installation
gem install select_with_include
== Author
Author of this gem is Paolo Negri
== License
this gem is distributed under the MIT license