Commit Graph

19132 Commits

Author SHA1 Message Date
Mikel Lindsaar c40074c1c7 Updating mail dependency to 2.2.9 2010-10-26 18:50:30 +11:00
Andrew White 2d5a12a50b Don't write out secure cookies unless the request is secure 2010-10-25 16:36:35 +01:00
Xavier Noria cdce5fc886 ensures that no browser shows a vertical scrollbar in the code blocks of guides, thanks to Marcelino Llano for a hint to fix this 2010-10-24 19:28:28 +02:00
Xavier Noria 5e0e77fc12 configure a uniform font-family for code in guides 2010-10-24 16:21:20 +02:00
Xavier Noria 8a629ab6c3 use a gray a little darker in code blocks, for better contrast with the gray background 2010-10-24 16:21:20 +02:00
Xavier Noria 739fda3f0a removes the toolbar from guides code blocks 2010-10-24 16:21:20 +02:00
Aaron Patterson 5685a5c41c refactor to remove `through_records` 2010-10-23 20:29:46 -07:00
Aaron Patterson 6c998a79c8 removing dead code 2010-10-23 20:29:46 -07:00
Aaron Patterson 3e4ede81d6 removing unused variable 2010-10-23 20:29:46 -07:00
Xavier Noria b0aae28422 Merge branch 'master' of git://github.com/lifo/docrails 2010-10-24 00:40:32 +02:00
Xavier Noria 5f5496c7f3 switches guides code syntax highlighting to the better SyntaxHighlighter, I did my best with the theme, I swear 2010-10-24 00:35:47 +02:00
Aaron Patterson a3f96f16f4 save a few method calls 2010-10-22 17:31:28 -07:00
Aaron Patterson cc12047372 removing wtfalse 2010-10-22 13:37:51 -07:00
Aaron Patterson ee71a3fbfc removing call to deprecated API, this test is outside AR responsibilities 2010-10-22 13:33:59 -07:00
Aaron Patterson 1ce76db918 if it responds to :usec, it should also "act like" a time 2010-10-22 13:31:44 -07:00
Aaron Patterson 40491b4654 removing space errors 2010-10-22 10:35:08 -07:00
Xavier Noria 8326161b19 copy-edits some CI traces 2010-10-22 17:34:22 +02:00
Xavier Noria a031fc57c8 made a pass in AR's schema.rb to keep (most) create statements in lexicographic order, and fixed an FK 2010-10-22 16:55:02 +02:00
Xavier Noria 5b86c3e5bb has_one maintains the association with separate after_create/after_update
This way parent models can get their own after_create and
after_update callbacks fired after has_one has done its job.
2010-10-22 10:28:53 +02:00
José Valim fc8c072988 Use render :template instead of render :file in nested layouts example. render :template is a bit faster and more semantic compared to render :file. 2010-10-21 09:26:59 -02:00
Umar Sheikh a04b2131de ActiveSupport::Dependencies' methods load_paths and load_once_paths have
changed names to autoload_paths and autoload_once_paths respectively
2010-10-21 14:41:00 +05:00
Aaron Patterson 410114e85a adding a test to ensure offsets with no limits will work [#5316 state:resolved] 2010-10-20 17:17:22 -07:00
Aaron Patterson 828bb94d5a use grep instead of select + is_a? 2010-10-20 16:41:50 -07:00
Aaron Patterson 4be0fc124a use a map and flatten to avoid << calls on array 2010-10-20 16:20:49 -07:00
Aaron Patterson 784177aeee only call `column_methods_hash` once, use array math for faster test of existence 2010-10-20 16:17:15 -07:00
Aaron Patterson 7f444a3db6 roll up weird method to meta programmed method 2010-10-20 15:51:44 -07:00
Aaron Patterson fb835fc1e2 use zip + Hash.[] rather than looping with an index 2010-10-20 15:46:04 -07:00
Aaron Patterson 954bd126ec extract options is not necessary 2010-10-20 15:07:17 -07:00
Aaron Patterson 03d4b86e78 removing unused variable 2010-10-20 14:58:16 -07:00
Aaron Patterson 96e8e97e78 removing unused variables 2010-10-20 09:38:15 -07:00
Jan 21beedf1ff default scope merge where clauses [#5488 state:resolved] 2010-10-20 09:00:36 -07:00
Aaron Patterson dbc5d2694f reduce duplicate where removal to one loop 2010-10-20 08:41:25 -07:00
Santiago Pastorino d3d724bb88 Remove this require since active_support/testing/default doesn't exist anymore 2010-10-20 12:50:31 -02:00
Aaron Patterson 8c511c0b3c swap out some n^2 for some n 2010-10-19 20:53:53 -07:00
Aaron Patterson 4726a181c4 bumping mysql2 requirement 2010-10-19 17:53:00 -07:00
Aaron Patterson 8d5829f149 dup rather than create so many arrays 2010-10-19 17:51:46 -07:00
Aaron Patterson dc16163d06 use array math rather than looping through the array 2010-10-19 17:46:54 -07:00
Aaron Patterson c56fea2be4 use shortened version to generate a sql literal 2010-10-19 17:44:33 -07:00
Aaron Patterson 08636527b5 avoid cloning if we do not need to clone 2010-10-19 17:44:07 -07:00
Aaron Patterson 78b6f64105 avoid creating a proc object when possible 2010-10-19 17:37:55 -07:00
Aaron Patterson d2898d4ef8 scopes can take an object that responds to `call` 2010-10-19 17:29:25 -07:00
Aaron Patterson 56be4c897a avoid creating the proc object if possible 2010-10-19 17:29:25 -07:00
Santiago Pastorino 17d196a18e Change mysql2 to the gem version again since 0.2.5 was released 2010-10-19 21:42:54 -02:00
Aaron Patterson e68f339aae default scope can accept any object that responds to #call 2010-10-19 15:07:44 -07:00
Tim Morgan b1b26af9a2 Allow default_scope to accept a Proc. 2010-10-19 14:43:31 -07:00
Xavier Noria d619b9d1d1 Merge branch 'master' of git://github.com/lifo/docrails 2010-10-19 23:07:29 +02:00
Xavier Noria 95d87823d4 rewords a little the RDoc of the tag helper 2010-10-19 22:59:03 +02:00
Xavier Noria ba1fb51fa5 api guidelines: adds a reference to the RDoc documentation where directives like :method: are covered 2010-10-19 22:45:51 +02:00
Anil Wadghule d7799fadf9 Fix SQLite adapter name [#5842 state:resolved] 2010-10-19 10:44:59 -07:00
Aaron Patterson 1856e975c3 "instance_methods" includes public and protected 2010-10-19 08:30:45 -07:00