<FromGitter>
<nik736> @bweave Thanks, the serializer by imdrasil looks good! @drujensen Great, with .first or .all it looks like the Query Builder is not used, but for example by doing .limit(20) I am getting back a QueryBuilder object and can't directly convert it to_json. How would I do so? Sorry for all the noob questions and thanks again. :)
<FromGitter>
<nik736> I could use .map but I am not sure if this is the correct way. ā ā Other than that when installing the serializer shard and creating a serializers folder with some files, the files in that folder and the shard itself are not automatically required. I saw in the amber.yml file that `include:` does actually include `- ./src/**/*.cr`, but I am not sure if I have to do some extra steps... manually requiring them
<FromGitter>
... works, but as soon as I remove the require at the top of the file it throws an `Error: undefined constant `... Any help is appreciated, thanks.
<FromGitter>
<drujensen> I think `select` is the proper method to use to run the query but it should support the `iterable` functions. The documentation on the query builder needs to be updated.
<FromGitter>
<drujensen> The second part of your question looks like a bug
<FromGitter>
<drujensen> it should include it automatically
<FromGitter>
<drujensen> maybe iām wrong about that. The proper place to put it would be the `./config/application.cr`
<FromGitter>
<drujensen> you will find the `src/controllers/**` there. you can add it after the controllers
<FromGitter>
<drujensen> I think maybe we removed adding them automatically because the order in which they are included matters.