Commit Graph

21310 Commits

Author SHA1 Message Date
Joshua Peek
db3e310d6b Change back to /assets prefix 2011-03-29 18:05:23 -05:00
Joshua Peek
8e4d0b118b Fix building route set with sprockets in production 2011-03-29 17:28:46 -05:00
Joshua Peek
a5f547cc79 Only add fingerprints if perform_caching is on 2011-03-29 17:27:49 -05:00
Joshua Peek
e646385993 Fix sprockets logger 2011-03-29 17:02:29 -05:00
Joshua Peek
bed7a1acc4 Copy use_sprockets config 2011-03-29 16:17:49 -05:00
Joshua Peek
375443a9c5 Use sprockets helpers if config.use_sprockets is set 2011-03-29 15:53:28 -05:00
Joshua Peek
2b4705961d Add sprockets to Gemfile for testing 2011-03-29 15:42:57 -05:00
Joshua Peek
1af295fc9a Tests for SprocketsHelper 2011-03-29 15:42:31 -05:00
Joshua Peek
3b4e1a9159 Update sprockets path generation method 2011-03-28 15:58:29 -05:00
Joshua Peek
9cb264555d Add SprocketsHelper 2011-03-28 15:19:34 -05:00
Joshua Peek
41cc643065 Remove sprockets exception from main asset helpers 2011-03-28 13:54:58 -05:00
Joshua Peek
8ceec5c6c2 Fix reference to config.use_sprockets 2011-03-28 13:44:14 -05:00
Joshua Peek
954d73df53 Add use_sprockets flag 2011-03-28 13:22:13 -05:00
Joshua Peek
7197eb77d5 Logger isn't set here 2011-03-28 11:10:45 -05:00
Joshua Peek
170680ae91 Add route for assets 2011-03-28 11:04:31 -05:00
Joshua Peek
ce52c6f4a7 Change static root to /public 2011-03-22 16:36:21 -05:00
Joshua Peek
8c26d0dba6 Use sprockets precompile 2011-03-22 16:24:01 -05:00
Joshua Peek
989103a233 Move app/javascripts and app/stylesheets under app/assets 2011-03-22 16:15:05 -05:00
Joshua Peek
628c31b353 Add sprockets md5s to asset tags 2011-03-22 15:43:40 -05:00
Joshua Peek
6aff1d0f6f Remove ensure_fresh_assets flag 2011-03-22 14:40:18 -05:00
Joshua Peek
cef10d8ec5 Assign sprockets static root 2011-03-22 11:15:24 -05:00
Joshua Peek
10c7e61825 Need to load assets task file 2011-03-21 18:09:23 -05:00
Joshua Peek
77ad4ca058 Add sprockets task to compile assets 2011-03-21 18:05:56 -05:00
Joshua Peek
3e7985c9c1 Add sprockets environment to Application 2011-03-21 17:58:28 -05:00
Aaron Patterson
88636f7195 escaping binary data encoding when inserting to sqlite3. Thanks Naruse! [#6559 state:resolved] 2011-03-21 14:49:07 -07:00
Aaron Patterson
ea8fcfb729 schemas set by set_table_name are respected by the mysql adapter. [#5322 state:resolved] 2011-03-21 11:20:45 -07:00
Iain Hecker
96b9fc4400 Reapply extensions when using except and only 2011-03-21 10:29:45 -07:00
Aaron Patterson
55bf087da1 SJIS is an alias to Windows-31J in ruby trunk. Use SHIFT_JIS for this test 2011-03-21 10:00:30 -07:00
José Valim
1413c9b1d5 Improved resolver docs a bit 2011-03-19 16:06:50 -07:00
Chris Kowalik
d76fadbd7d [action_view] docs for FileSystemResolver 2011-03-20 07:01:47 +08:00
Chris Kowalik
de1fe5e8a7 [action_view] added custom patterns to template resolver 2011-03-20 07:01:46 +08:00
Santiago Pastorino
445241d713 define_attr_method should be able to define methods that returns nil 2011-03-17 23:17:20 -03:00
Aaron Patterson
4532b39f5f remove misleading comment 2011-03-17 10:31:12 -07:00
Aaron Patterson
00f0879367 dup strings on return so that in place modifications do not break anything. I am looking at you "compute_table_name" 2011-03-17 10:26:11 -07:00
Santiago Pastorino
c834a751d2 define_attr_method correctly defines methods with invalid identifiers 2011-03-16 21:20:44 -03:00
Santiago Pastorino
fda45f4fc4 Add a define_attr_method test 2011-03-16 21:08:02 -03:00
Santiago Pastorino
5232077517 Add test for define_attr_method using as name an invalid identifier 2011-03-16 21:01:49 -03:00
Santiago Pastorino
cb44e99de4 Add test for define_attribute_method using as name an invalid identifier 2011-03-16 21:01:04 -03:00
Josh Kalderimis
0eae625256 fixes an issue with number_to_human when converting values which are less than 1 but greater than -1 [#6576 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-03-16 15:11:00 -03:00
Andrew White
e8458d37c5 Fix typo in assertion message 2011-03-16 10:28:40 +00:00
Norman Clarke
7bd70dcd6c Add messages to plain assertions.
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-03-15 10:44:14 -03:00
Aaron Patterson
9f2706d770 use a list to represent the supported verbs for a route object 2011-03-14 18:26:30 -07:00
Aaron Patterson
9ba2d422f5 stop splatting arguments so that we can understand wtf is going on 2011-03-14 16:17:05 -07:00
Aaron Patterson
833a90594e RegexpWithNamedGroups is only used for path_info, so only apply to path info 2011-03-14 15:17:29 -07:00
Xavier Noria
21b12d89a6 Merge branch 'master' of git://github.com/lifo/docrails 2011-03-14 22:09:52 +01:00
Xavier Noria
a0826cceea be be -> be 2011-03-14 22:06:27 +01:00
Xavier Noria
de5e41f855 move the tips about :allow_(nil|blank) near their explanations, also no need to say these are options for all validators if they are not 2011-03-14 22:03:23 +01:00
Jack Dempsey
dfa9e28113 silence @dummy_path not defined warnings 2011-03-14 02:54:44 +08:00
Jack Dempsey
88d8ca2ef9 use parens and silence ambiguous args warnings 2011-03-14 02:54:44 +08:00
Anders Elfving
9b64399684 Adjust unique constraint comment to include info about the RecordNotUnique exception 2011-03-13 11:49:56 +01:00