Ruby	on	Rails	
                                          #1	First	look	


                               	
                               	
                                       helper2424@gmail.com	   1
Why	we	talk	about	RoR?	
• It's	popular	
• Plug	and	play		
  	                                                 	
                                                    		




                                                    	
                                                    		




                                              			

                            helper2424@gmail.com	    2
What	is	it?	
                  	




• RoR	is	a	web	application	development	framework	
  written	in	the	Ruby	language	
• RoR	like	DRY	(Don’t	Repeat	Yourself)	
                                                               	
                                                               		

• RoR	like	COC	(Convention	Over	Configuration)	
• RoR	like	REST	(organizing	your	application	
  around	resources	and	standard	HTTP	verbs	is	the	
  fastest	way	to	go)	

                                                               	
                                                               		
• RoR	like	MVC	
                                                         			

                                       helper2424@gmail.com	    3
Little	bit	of	history	
• Created	by	Danish	programmer		
for	37signals	like	managment	tool		
in	July	2004	.	
                                                                     	
                                                                     		

• 2005		shared	first	commit		
rights	for	comunity	
• December	2005	‑	1.0	
• December	2007	‑	2.0	
                                                                     	
                                                                     		
• August	2010	‑	3.0	
• August	2012	‑	3.2.8	(last	stable)	   David	Heinemeier	Hansson	
                                                          			

	                                            helper2424@gmail.com	    4
Ok,	but	what	is	Ruby?	
         	




• Look	to	second	presentation	
  http://www.slideshare.net/helper2424/ruby‑on‑
  rails232	
                                                             	
                                                             		




                                                             	
                                                             		




                                                       			

                                     helper2424@gmail.com	    5
Links	
• http://rubyonrails.org/	‑	official	site	
• http://www.rubyonrails.ru/	‑	RoR	site	by	russian	
  comunity	
                                                               	
                                                               		

• http://www.ruby‑lang.org/en/	‑	Ruby	official	
  site	
• http://37signals.com/	‑	official	site	RoR	
  developers	

                                                               	
                                                               		
• http://en.wikipedia.org/wiki/David_Heinemeier
  _Hansson	‑	David	Heinemeier	Hansson	        		         	


                                       helper2424@gmail.com	    6
Links	too	
• https://github.com/rails/rails/	‑	RoR	repository	
• http://api.rubyonrails.org/	‑	documentation	for	
  last	stable	version	
                                                                	
                                                                		

• http://guides.rubyonrails.org/	‑	guides	for	last	
  version	
• http://railsforzombies.org/	‑	funny	courses	fro	
  beginers	

                                                                	
                                                                		




                                                          			

                                        helper2424@gmail.com	    7
Literature	in	RU	
• Sam	Ruby	,Dave	Thomas	,Havid	Heinemeier	
  Hansson	"Agile	Web	Development	with	Rails":	
  good	book,	but	for	version	3.1	
                                                              	
                                                              		
	




                                                              	
                                                              		




                                                        			

                                      helper2424@gmail.com	    7
Literature	in	EN	
• Sam	Ruby	,Dave	Thomas	,Havid	Heinemeier	
  Hansson	"Agile	Web	Development	with	Rails":	
  good	book	and	for	version	3.2		
                                                                 	
                                                                 		
• 	Obie	Fernandez	"The	Rails	3	Way"	:	good	book,	It	
  has	rails	mechanism	description,	read	after	"Agile	
  Web	Development	with	Rails"	
  	

                                                                 	
                                                                 		




                                                           			

                                         helper2424@gmail.com	    8
Additional	(must	read)	literature	
  	




• David	Chelimsky	"The	RSpec	Book"	:	Ruby	TDD	
• Matt	Wynne,	Aslak	Hellesoy	"The	Cucumber	
  Book":	how	use	cucumber,	tests	ad	specification	
                                                                	
                                                                		
  right			




                                                                	
                                                                		




                                                          			

                                        helper2424@gmail.com	   10

Ruby on rails 1