Advanced Rails - Building Industrial-Strength Web Apps in Record Time
Enumerable Enumerable | 65 1.month # => 1 month 1.month.ago # => Mon Sep 24 23:57:04 -0500 2007 1.month.since(1.year.ago) ...
Exception 66 | Chapter 2: ActiveSupport and RailTies sum {|x| (x-m)**2} / length end def standard_deviation variance ** 0.5 end ...
Hash Hash | 67 Hash Conversions core_ext/hash/conversions.rb Many methods are provided to convert back and forth between hashes ...
Hash 68 | Chapter 2: ActiveSupport and RailTies h = {:a => 123, "b" => 456} h.stringify_keys # => {"a"=>123, "b"=> ...
Kernel Integer | 69 Integer core_ext/integer/even_odd.rb,core_ext/integer/inflections.rb Integer#multiple_of?(number),Integer#e ...
Module 70 | Chapter 2: ActiveSupport and RailTies Module Aliasing core_ext/module/aliasing.rb alias_method_chain(target,feature ...
Object Numeric Conversions | 71 A::B::C.parent # => A::B A::B.parent # => A A.parent # => Object A::B::C.parents # => ...
Range 72 | Chapter 2: ActiveSupport and RailTies Miscellaneous methods core_ext/object/misc.rb Object#returninglets you perform ...
String String | 73 String#tableize converts class names to table names (as in ActiveRecord). String#classify converts table nam ...
Symbol#to_proc 74 | Chapter 2: ActiveSupport and RailTies Miscellaneous methods core_ext/string/access.rb,core_ext/string/conver ...
RailTies | 75 TimeZone Instances ofTimeZoneare value objects*representing a particular time zone (an offset from UTC and a name) ...
76 | Chapter 2: ActiveSupport and RailTies Rails::Initializer.runyields a newRails::Configurationobject to the block. Then runcr ...
RailTies | 77 13.initialize_temporary_directories: Sets ActionController’s temporary session and cache directories if they exist ...
78 | Chapter 2: ActiveSupport and RailTies There are many ways to serve a Rails application.fcgi_handler.rbcontains the FastCGI ...
79 Chapter 3 CHAPTER 3 Rails Plugins 3 Civilization advances by extending the number of important operations which we can perfor ...
80 | Chapter 3: Rails Plugins The plugin locator searches for plugins under the configured paths, recursively. Because a recursi ...
About Plugins | 81 Therapt searchcommand looks for plugins matching a specified keyword. To search for plugins that add calendar ...
82 | Chapter 3: Rails Plugins To solve these problems, François Beausoleil created Piston,*a program to manage vendor branches i ...
Writing Plugins | 83 Plugins and other vendor code can be managed very well with a decentralized ver- sion control system. These ...
84 | Chapter 3: Rails Plugins init.rb This is a Ruby file run upon initialization of the plugin. Typically, it willrequire files ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf