João Daniel

Belo Horizonte, Brazil

linkedin.com/in/jdanielnd

Age: 24

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.

Dec
13
awarded Yearling
Nov
26
awarded Popular Question
Nov
20
comment how to check if the number is integer?
I think there is a confusion about mathematical and computational concepts of integer. The function is.integer checks the computational concept, the check.integer user function checks the mathematical point of view.
Nov
18
comment Reduce number of queries in ActiveRecord call
Actually there is no code.. As I said AtomType has many Atoms. It's just a relationship collections. It returns all atoms that belongs to that instance of AtomType.
Nov
18
comment Reduce number of queries in ActiveRecord call
It's actually (or also) self.atoms :)
Nov
18
comment Reduce number of queries in ActiveRecord call
It is, because when I pluck the id from atoms, that atoms belongs to the same AtomType. It's calling a relationship collection from an AtomType instance :)
Nov
18
answered Reduce number of queries in ActiveRecord call
Nov
18
asked Reduce number of queries in ActiveRecord call
Nov
15
awarded Nice Question
Nov
12
revised VBA - Copy from Closed File paste to next available row on Summary Sheet
I removed the part where you ask for tips about VBA websites and references. Questions should always be very precise and focused on coding. Avoid asking for general tips or discussions that have no "correct" answer. :)
Nov
12
reviewed No Action Needed Actionscript 3 Export to text file
Nov
12
comment Authenticated login issue rails 4 with devise
It would be useful if you provide the log of what happens when you get the error page. Try heroku log -f to follow the log and try to login. Error details will show up on log :)
Nov
12
reviewed Reviewed VBA - Copy from Closed File paste to next available row on Summary Sheet
Oct
23
awarded Notable Question
Oct
1
comment Repeat records based on date - Rails
Glad I could help!
Sep
30
answered How to add new object of model in a foreign controller
Sep
30
answered Repeat records based on date - Rails
Sep
30
comment Repeat records based on date - Rails
Would that be more efficient then querying the events that falls between start and end date just once, and then using select to get the events for each day?
Sep
30
comment Repeat records based on date - Rails
I believe you want to iterate the days between start and end date and for each day, display the events where that day falls between start and end date of that event. I'm at my cellphone now, but you can query all events that falls between start and end date and then iterate on the days between start and end date. Inside that block you would use select on the query to get what events are happening that day.
Sep
6
answered link_to_if Why does it show the Link Title if false?
1 2 3 4 5