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.

2d
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?
Sep
3
comment Avoiding IF in a simple mapping function
+1 brilliant approach
Sep
3
comment Avoiding IF in a simple mapping function
I'm sorry if I broke any rules. Why the negative votes?
Sep
3
asked Avoiding IF in a simple mapping function
Sep
2
asked Devise and LDAP for users from specific organizations
Sep
1
awarded Good Question
Aug
9
comment ctree() - How to get the list of splitting conditions for each terminal node?
Is there any updated version of this function that also deals with categorical explanatory variables? @DavidArenburg
Jul
24
awarded Popular Question
Jul
23
awarded Autobiographer
Jul
22
comment How to align overflown div to right?
I had to reverse the order of the elements inside, because that make it starts from the right. But it did what I needed!
Jul
22
accepted How to align overflown div to right?
Jul
22
asked How to align overflown div to right?
Jul
18
awarded Popular Question
Jul
2
awarded Inquisitive
1 2 3 4 5