Advanced Rails - Building Industrial-Strength Web Apps in Record Time
Further Reading | 45 Theparameter_shellmethod returns the default set of parameters associated with the route. This method body ...
46 Chapter 2CHAPTER 2 ActiveSupport and RailTies 2 [Programs] must be written for people to read, and only incidentally for mach ...
Hash Dir | 47 Dir Dir.[] is shorthand forDir.glob: Dir["/s*"] # => ["/scripts", "/srv", "/selinux", "/sys", "/sbin"] Enumer ...
Kernel 48 | Chapter 2: ActiveSupport and RailTies bs[b] = slow_method(a, b) end end Hash#deleteremoves a value from the hash an ...
How to Read Code | 49 How to Read Code As implied by the quote introducing this chapter, the primary purpose of source code shou ...
50 | Chapter 2: ActiveSupport and RailTies questions of it while it is running. There are some methods to find information via s ...
How to Read Code | 51 def bar pp caller 'baz' end end puts Test.new.foo This gives us the call stack: ["./call_stack1.8.4.rb:8:i ...
52 | Chapter 2: ActiveSupport and RailTies [[:unknown, :unknown, "./call_stack1.8.5.rb", 18, nil, nil], [Test, :foo, "./call_sta ...
How to Read Code | 53 table = Table('time.csv') table.to_pdf(:file => 'time.pdf') We load up this script under ruby-debug: $ ...
54 | Chapter 2: ActiveSupport and RailTies (rdb:1) n .../gems/ruport-1.2.0/lib/ruport/data/table.rb:806 case(args[0]) (rdb:1) .. ...
How to Read Code | 55 Under FastCGI, the worker processes would not be able to interact with the console. $ script/server => ...
56 | Chapter 2: ActiveSupport and RailTies Finally, when we leave the debugger withcont(c), the request continues loading in the ...
Dependencies ActiveSupport | 57 def test_load_save bin = Binary.new bin.data = @data assert @data == bin.data, 'Newly assigned d ...
Deprecation 58 | Chapter 2: ActiveSupport and RailTies 3.const_missing callsDependencies.load_missing_constant(Object, :Store). ...
JSON Inflector | 59 Inflector inflections.rb,inflector.rb TheInflectormodule provides a set of simple transformations on English ...
Whiny Nil 60 | Chapter 2: ActiveSupport and RailTies The JSON library protects against circular references, which cannot be enco ...
Array Array | 61 they are extremely useful during the process of building a Rails application. The core extensions are low-level ...
Blank 62 | Chapter 2: ActiveSupport and RailTies Blank core_ext/blank.rb ActiveSupport adds theblank?instance method to all obje ...
Date and Time Date and Time | 63 The accessors are defined just as with regular class attributes: class Parent class_inheritable ...
Date and Time 64 | Chapter 2: ActiveSupport and RailTies Conversions from Numeric core_ext/numeric/time.rb ActiveSupport adds su ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf