Bad Programming practices in rails

1. Not using associations properly Say, we have association of College has many students, having foreign key college_id in student...

Dealing with date and time in rails and how does postgres store datetime

Dealing with date and time in rails and how does postgres store datetime

Every real-time application needs to deal with Date and Time.In rails, Time, Date and DateTime classes reside inside ruby library,...

Google DeepMind: Everything you want to know about

“Superhero of artificial intelligence” this was stated by The Guardian to DeepMind cofounder and CEO Demis Hassabis. Demis Hassabis is...

Why puts and print return nil in ruby?

Why puts and print return nil in ruby?

nil is the Ruby object, not just a keyword, that represents nothingness. Whenever a method doesn’t return a useful value,...