Skip to content

Instantly share code, notes, and snippets.

@cis-venkat
Created July 2, 2015 16:03
Show Gist options
  • Save cis-venkat/706dbdb8b7ba22fadfc7 to your computer and use it in GitHub Desktop.
Save cis-venkat/706dbdb8b7ba22fadfc7 to your computer and use it in GitHub Desktop.
iiiii

@Pramati (02/07/2015)

  • Difference between module include and extending?
  • Difference between rails concerns and modules?
  • Difference between Proc and lambda?
  • Ruby Singleton patten? What are other patterns you know?
  • Explain SRP principle
  • Presentors - Drapper
  • Access modifiers - Difference between protected and private
  • Can use private methods of one class in its sub class? (Yes)
  • How 'super' works in ruby?
  • What rails component we use for custom server configuration?
  • What is the main role of Active Model component?
  • Why strong parameters? And what is the reason they moved this logic into controller?
  • Explain mass assignment problem?
  • How SQL injection happens and how to achive?
  • What are left join and right join and differences? What rails 'joins' do?
  • What is 'prototype' in javascript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment