Hello
Introduction
My work
Rails
framework
Mini

Not more then 30 minutes ..promise ;(
Goal?
Rails breakdow

n
Rails
ActiveRecord

ActionPack

ActionMailer

Railties

ActiveSupport

ActiveModel

ActionController

ActionView

ActionDispatch
Why Ruby is
Programmer Friendly
ActiveRecord
ActiveRecord Pattern
Let’s Code !
Text
Controller
Front Controller
status
header
body

class MyApp
	

 def call(env)
	

 [
	

 	

 200,
	

 	

 {‘Content-Type’ => ‘text/plain’},
	

 	

 [“you requested “ + env[‘PATH_INFO’]]
	

 ]
Let’s Code!
Routing
View
Template View
Let’s Code!
Use the force source
Follow the Baseics
module ActiveRecord
	

 class Base
	

 	

 include ActiveRecord::Naming
	

 	

 include ActiveRecord::Persistence
	

 end
end
Model logic that requires DB
Access

ActiveRecord

gem edit activerecord

Model logic that doesn’t
requires DB Access

ActiveModel

gem edit activemodel

Code handling the process &
routing of a request

ActionDispatch

gem edit actionpack

Features you get on your
controller

ActionController

gem edit actionpack

View and helpers code

ActiveView

gem edit actionpack

Code to glue framework
together

Rails

gem edit railties
https://github.com/
aviandri/mini-rails
Thank You

Mini Rails Framework