WHAT'S HOT
Prev | Current Page 484 | Next

Brad Ediger

"Advanced Rails"

rb library, 17
metaprogramming
(see programming)
metaprogramming techniques, 1??“4
bindings, 27
continuations, 25??“27
delaying method lookup until
runtime, 23
generative programming, 24
viewing methods at runtime, 28??“36
method_missing function, 17, 23
methods, 20??“23
alias_method, 34
application_backtrace, 66
Array
*, 46
extract, 61
in_groups_of, 61
pack, 46
rand, 61
split, 61
to_s, 61
to_sentence, 61
to_xml, 61
arrays, 46
attr_accessible, 132
attr_accessor, 276
attr_protected, 132
before_save callback, 130
chaining, 33
Class, const_missing, 57
class_def, 18
clean_backtrace, 66
clean_message, 66
collect, 38
delegate, 70
DELETE, 190
deprecate, 58
detect, 37
Dir, 47
each_with_index, 39
emulation, 217
Index | 335
entries, 39
Enumerable
all?, 47
grep, 47
sort_by, 47
etag, 221
exceptions, 66
expire_fragment, 180
File
expand_path, 144
join, 47
open, 47
find, 37
find_all, 37
find_with_attributes, 281
framework_backtrace, 66
functionality, adding to existing, 32
garbage collection, 29
GET, 188
grep, 38
Hash
asset_valid_keys, 68
delete, 48
diff, 67
from_xml, 67
new, 47
slice, 68
stringify_keys, 67
to_xml, 67
HEAD, 189
idempotent, 189
image_path, 319
inject, 39
instance_exec, 71
instance_methods, 29
Kernel
Array, 48
binding, 27
caller, 50
daemonize, 69
system, 145
kicker, 274
localize, 256
lookup, 5??“17
delaying until runtime, 23
map, 38
max, 39
meta_def, 18
meta_eval, 18
metaclass, 18
method_missing, 23
min, 39
Module
const_missing, 57
define, 25
instance_methods, 29
remove_method, 48
undef_method, 48
Object#methods, 29
objects, 20
partition, 38
POST, 190
proc, 48
Proc#binding, 28
PUT, 189
reader, 25
refresh_without_timing, 34
reject, 38
respond_to, 217
runtime, viewing at, 28??“36
safe, 188, 189
sanitize, 140
select, 37
session storage, 137
silence_stream, 69
silence_warnings, 69
sort, 38
sort_by, 38, 274
String
%, 48
scan, 48
unpack, 46
suppress, 69
Symbol#to_proc, 74
to_a, 39
to_hash, 275
to_sql, 275
UnboundMethod, 20
zip, 38
Microsoft SQL Server, 100
migration
ActiveRecord, 285
databases, 306??“308
MIME (Multipurpose Internet Mail
Extensions), 209
types, 218
min method, 39
MiniMagick, 107
MIT license, 84
mitigation
cross-site request forgery (CSRF), 142
cross-site scripting (XSS), 140
336 | Index
.


Pages:
472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489