Questions tagged [nobrainer]
A Ruby ORM for RethinkDB
5
questions
0
votes
1
answer
25
views
Get RethinkDB query working in Ruby on Rails
I have a ReQL query...
r.db('development').table('responses').filter({
survey_id: 9
}).concatMap(r.row.getField('numerical_answers')).filter({
type: 'CustomerEffortAnswer'
}).sum('number')
......
1
vote
0
answers
71
views
Unit Testing - 'fixtures' no method error using No-Brainer ORM
I am trying to write unit tests for my database using fixtures in rails 5.0.1.
I keep getting the error:
test/test_helper.rb:7:in `<class:TestCase>': undefined method `fixtures' for ...
1
vote
0
answers
39
views
How to use getFields with nobrainer
I started learning rethinkdb and can't replicate a query that I need using nobrainer+rails.
In the RethinkDB data explorer the query is working (not sure if optimal) but it returns the required ...
0
votes
1
answer
151
views
What's the database.yml configuration for using Rails with RethinkDB?
I am trying to dive into RethinkDB with Rails and followed the steps until here: https://rethinkdb.com/docs/rails/
How do I configure the database adapter for RethinkDB though?
0
votes
1
answer
125
views
Rails simple_form associations with NoBrainer and RethinkDB
I am using simple_form as my form builder in a rails project, with RethinkDB as the database and the NoBrainer ORM. I have set up the models to include the relationships between them however when ...