Jeremy Kemper
52e2bbd5c0
Ruby 1.9: work around constant resolution behavior change :(
2009-11-04 14:51:54 -08:00
Jeremy Kemper
d2d3464fcc
Turn off --debug for gem bundle. Force gem update.
2009-11-04 14:49:15 -08:00
Jeremy Kemper
726a2fc8d2
Give useful test:isolated failures
2009-11-04 12:44:06 -08:00
Jeremy Kemper
03dc66444e
Add bundler 0.6.0 to CI geminstaller
2009-11-04 11:57:21 -08:00
Jeremy Kemper
d64e87edd6
Try to remotely troubleshoot bundler issue in CI
2009-11-04 11:50:52 -08:00
Manfred Stienstra
0e64eab6a2
Autoload Multibyte features.
2009-11-04 10:15:03 +01:00
Manfred Stienstra
da3a228a93
Make ActiveSupport::Chars#limit run on Ruby 1.9.
2009-11-04 10:14:49 +01:00
Manfred Stienstra
62a022891b
Improve performance of Multibyte::Utils.
...
Replace explicit for-loops by faster enumeration methods.
[#3158 state:committed]
2009-11-04 10:12:06 +01:00
Manfred Stienstra
935bd0fef8
Add ActiveSupport::Multibyte::Chars#limit.
...
The limit method limits the number of bytes in a string. Useful when the
storage space of the string is limited, for instance in a database column
definition.
Sharpen up the implementation of translate offset.
[#3192 state:committed]
2009-11-04 10:12:03 +01:00
Jeremy Kemper
a3d5274e67
Configure generator when needed rather than during initialization
2009-11-03 18:58:40 -08:00
José Valim
d627c932bd
Pass config.generators options along when RAILS_GENERATORS is set and show --force-plural message just once.
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-11-03 18:22:05 -08:00
Jeremy Kemper
e5211e3bd0
Improve Gemfile commentary
2009-11-03 16:36:19 -08:00
José Valim
3b8e29fe56
Remove --freeze (since Rails will come bundled in all new apps) and update gem action to change Gemfile instead of config.environment.
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-11-03 16:32:47 -08:00
José Valim
3fb548cac3
Ensure ActiveRecord is loaded on revoke/destroy.
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-11-03 16:32:47 -08:00
José Valim
e15b5eda2b
Avoid duplicated names on help description and show proper error message if trying to load a Rails 2.x generator.
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-11-03 16:32:47 -08:00
Joshua Peek
f950d0b4af
Fix simple resource named routes for new routing dsl
2009-11-03 11:23:22 -06:00
Jeremy Kemper
aaa5a692a3
Use spoofed version bump to ensure git is preferred
2009-11-03 00:25:15 -08:00
Jeremy Kemper
8ed82dfeb9
Force gemcutter source to ensure a consistent arel version
2009-11-02 20:26:44 -08:00
Jeremy Kemper
ca990b03cc
Work around rebundling issue
2009-11-02 20:08:43 -08:00
José Valim
d226f17507
Ensure that generators can be invoked from any directory.
...
Signed-off-by: Engine Yard <engineyard@Engine-Yards-MacBook-Pro.local >
2009-11-02 18:20:16 -08:00
Matias Flores
2378085023
Fix chars.reverse for multibyte decomposed strings
...
[#597 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-11-02 17:57:55 -08:00
Jeremy Kemper
e93c2da141
Arel::In -> Arel::Predicates::In
2009-11-02 17:50:12 -08:00
Jeremy Kemper
36a9644b86
Clarify date/time dependencies
2009-11-02 17:50:12 -08:00
Jeremy Kemper
b540eca588
Consolidate Object#to_param and #to_query core extensions
2009-11-02 17:50:12 -08:00
Jeremy Kemper
8935854375
Ruby 1.9.2: rational.rb is deprecated
2009-11-02 17:50:12 -08:00
Jeremy Kemper
a2de13e1e0
Ruby 1.9.2: URI.escape is obsolete
2009-11-02 17:50:12 -08:00
Jeremy Kemper
36121d29a5
Ruby 1.9 doesn't recognize EM SPACE as whitespace, breaking String#strip
2009-11-02 17:50:12 -08:00
Jeremy Kemper
13004c37e6
Give useful test:isolated failures
2009-11-02 17:50:11 -08:00
Yehuda Katz
14370e1aab
CI breakage
...
This reverts commit a288b74f1c .
2009-11-02 17:12:01 -08:00
José Valim
976c264724
Extracted localized_cache.rb from ActionController, added it to AbstractController and made ActionMailer use it.
2009-11-01 02:23:49 +01:00
José Valim
a107103e85
Allow :instance_reader to be given to superclass_delegating_accessor as well.
2009-11-01 02:23:49 +01:00
José Valim
2aafdc8396
Use I18n on ActionMailer subjects by default.
2009-11-01 02:23:49 +01:00
José Valim
81c416b72e
More refactoring on ActionMailer::Base.
2009-11-01 02:23:49 +01:00
José Valim
e9667ad1f0
Make tests run without deprecation warning (just one left).
2009-11-01 02:23:48 +01:00
José Valim
418c3f801c
Another refactoring on AM. body is deprecated, use render instead.
2009-11-01 02:23:48 +01:00
José Valim
0396004861
Add some basic render_test to AbstractController.
2009-11-01 02:23:48 +01:00
José Valim
0cf16ddb88
Improve AbstractController layouts coverage.
2009-11-01 02:23:48 +01:00
José Valim
2d514e5352
Move some of helper tests to AbstractController.
2009-11-01 02:23:48 +01:00
José Valim
43d5504f0a
Move all render and layout pieces required in ActionMailer from ActionController to AbstractController.
2009-11-01 02:23:48 +01:00
José Valim
684c2dc208
Remove ActionMailer helpers and rely on AbstractController one.
2009-11-01 02:23:48 +01:00
José Valim
a9751a7034
Refactor ActionMailer layout and remove legacy one.
2009-11-01 02:23:47 +01:00
Matthew Rudy Jacobs
f4f76772fb
abstract all of the ActionMailer delivery methods into their own classes. thereby the following are equivalent
...
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.delivery_method = ActionMailer::DeliveryMethod::Smtp
we could equally set our own custom object
as long as it provides the instance method :perform_delivery(mail)
eg.
class MySmsDeliveryMethod
def perform_delivery(mail)
Sms.send(mail['to'], mail['body'])
end
end
MySmsMailer.delivery_method = MySmsDeliveryMethod.new
Signed-off-by: José Valim <jose.valim@gmail.com >
2009-11-01 02:23:47 +01:00
Tim Carey-Smith
3f56038612
Remove the random line at the beginning of every new log file
2009-10-29 08:05:41 +01:00
Yehuda Katz
51c24ae3e3
Caching refactoring
2009-10-29 00:44:12 -04:00
José Valim
a288b74f1c
Generators should use Rails.root instead of Dir.pwd [ #3408 status:resolved]
...
Signed-off-by: Yehuda Katz <wycats@gmail.com >
2009-10-28 16:54:38 -04:00
Yehuda Katz
8dcf91ca11
First pass at cleaning up action caching
2009-10-28 16:54:00 -04:00
José Valim
427a7385eb
Make polymorphic_url work with symbols again and refactor it [ #1384 status:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-10-28 14:13:48 -05:00
Yehuda Katz
f51ac9e780
Array.wrap(struct) needs to return the wrapped struct
2009-10-28 06:51:25 -07:00
Yehuda Katz
c9487ed6af
Change Event#thread_id to #transaction_id. Defaults to one "transaction" per thread but you can explicitly declare the start of a new one. This makes it possible for each request to have it own id.
2009-10-28 01:58:33 -07:00
Yehuda Katz
03d3824d96
Make it possible to have IDs per request
2009-10-28 01:50:59 -07:00