João Daniel

Belo Horizonte, Brazil

linkedin.com/in/jdanielnd

Age: 25

I'm a BA statistic's student at UFMG (Brasil), and co-founder at Tecto - a startup in the data analysis field. I've experience in programming (C, Java, HTML, CSS, Ruby, RoR) and data analysis.

23h
awarded Notable Question
Jun
10
awarded Nice Question
Jun
7
accepted Data modeling in multiple aggregation levels
Jun
3
comment Negative comparison with ActiveRecord
I'm concerned about unique combinations of those two attributes. Not for every repetition it can have with different product_id's or values.
Jun
3
comment Negative comparison with ActiveRecord
I'm using PostgreSQL
Jun
3
asked Negative comparison with ActiveRecord
Jun
2
asked Data modeling in multiple aggregation levels
May
21
comment Same query on Rails and SQL return different results
I believe it's related to the fact that both group by columns have the same name..
May
21
comment Same query on Rails and SQL return different results
Both queries with or withour the OUTER produces the desired output on DB console. It seems the problem is how AR is transforming it on a hash.
May
21
comment Same query on Rails and SQL return different results
Here is an example of the working query: sqlfiddle.com/#!9/7a6d1/1/0. The same doesn't work on Rails..
May
21
asked Same query on Rails and SQL return different results
May
6
accepted Avoid text to change in disagreement with collapse
May
6
comment Avoid text to change in disagreement with collapse
Thanks Henrik! Didn't noticed that section in the docs. It did solved my problem! :)
May
6
comment Avoid text to change in disagreement with collapse
This doesn't prevent the race :/
May
6
revised Avoid text to change in disagreement with collapse
adding link do fiddle
May
6
asked Avoid text to change in disagreement with collapse
Apr
24
awarded Yearling
Apr
24
awarded Autobiographer
Apr
23
awarded Notable Question
Mar
17
comment Get unsaved associations from inside the model
Actually is not that comments return just persisted comments. Is that when I call any method that touches the database, such as pluck, it ignores the unpersisted comments. So I must avoid ActiveRecord methods to deal with that objects.
1 2 3 4 5