aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
...
* Starting to replace scattered path configuration settings with the path objectYehuda Katz + Carl Lerche2009-06-262-6/+70
|
* Finished a first stab at the Rails application path object.Yehuda Katz + Carl Lerche2009-06-261-0/+85
|
* Try speeding up rails bootingYehuda Katz + Carl Lerche2009-06-251-1/+0
|
* Separate Rails module methods, the config object, and the initializer into ↵Yehuda Katz + Carl Lerche2009-06-232-0/+336
| | | | separate files.
* Get initializer_test.rb to pass with the new initializer.Yehuda Katz + Carl Lerche2009-06-231-2/+2
|
* Fix incorrect specification path in GemDependency#from_directory_nameMatt Jones2009-06-101-1/+1
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix several issues with the 2.3.2 gem loader.Matt Jones2009-06-091-4/+16
| | | | | | | | | | | | | | | | | | Incorporates the following: - migrates back small change to gems:build:force from bfc1609a501fc3ed442685819de5bcdb5fbada1c to finish closing #2266. - unrolls to_proc calls in gems.rake, to match the change in master. - fixes #2722 by passing the options hash to dependencies during build. (includes a test) - fixes #2721 by loading the specification directly in from_directory_name. Adds an option to opt-out of specification loading when needed (in gems:refresh_specs, for instance). Includes tests. - fixes #2679 by refreshing specs for all frozen gems rather than just gems loaded from the environment. - fixes #2678 by passing the options hash to dependencies during unpack. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Lazy-require Kernel#silence_warningsJeremy Kemper2009-05-191-2/+1
|
* Get Railties passing againYehuda Katz2009-05-162-7/+7
|
* Cherry-pick core extensionsJeremy Kemper2009-05-131-0/+2
|
* fix problems with requires in metal choking under development reloading ↵Tim Connor2009-05-041-1/+2
| | | | | | [#2579 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Attempt to deal with more cases of gems with native components.David Dollar2009-04-281-4/+17
| | | | | | | | | | | | | | | | | | | This commit adds a rudimentary check for 'unbuilt' gems, so that we can abort the application load if there are any gems that have native components that have not yet been built. The rake task gems:build has now only builds 'unbuilt' gems as a result. The rake task gems:build:force has been added to deal with cases of incomplete builds, or any case where you need to force the build of all of your gems. Changes the gems:build task to get its gem list by parsing directory entries in vendor/gems, which sidesteps the chicken/egg issues involved with having a gem unpacked into vendor/gems without before its native bits are compiled. [#2266 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Rejig active support dependencies to behave better with the boot processJeremy Kemper2009-04-282-5/+3
|
* Fix missing core extension dependenciesJeremy Kemper2009-04-281-0/+1
|
* Use Symbol#to_proc in rails plugin internalsJeremy Kemper2009-04-241-0/+1
|
* Opt in to DependenciesJeremy Kemper2009-04-221-0/+1
|
* No more free lunchJeremy Kemper2009-04-222-4/+7
|
* Prepare for final 2.3 releaseDavid Heinemeier Hansson2009-03-151-1/+1
|
* Make sure Metal use ActionController class name conventions [#2242 ↵Luca Guidi2009-03-151-1/+1
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Makes the gem system understand development vs. runtime dependencies [#2195 ↵David Dollar2009-03-131-97/+117
| | | | | | | | | | | | | | | | state:resolved] The patch also fixes: * Fixes the chicken/egg problem present in the current gem system when gems are defined in the config that are not yet installed. * Remove the need to have hoe as a dependency of your production app. * Makes the gem 'unpacking' system a lot less fragile. Signed-off-by: Matt Jones <al2o3cr@gmail.com> Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Execute the appropriate gem command when using JRuby [#2215 state:resolved]Zack Hobson2009-03-131-1/+8
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix serving index files with rack static file server [#2180 state:resolved]Joshua Peek2009-03-091-4/+13
|
* Correctly clean backtraces from vendor/gems and gems in alternate install ↵Matt Jones2009-03-091-4/+16
| | | | | | locations Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Ensure that loading metals from the main app and engines works on older Ruby ↵Simon Jefford2009-03-051-3/+5
| | | | | | versions [#2143 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Make sure that Rails frameworks are silenced when running in gem mode tooDavid Heinemeier Hansson2009-03-051-0/+3
|
* Enhanced Rails Metal - the load order of metals can now be configured [#2057 ↵Simon Jefford2009-03-031-3/+13
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Display gem dependencies correctly and unpack exactly once [#2097 ↵Matt Jones2009-03-011-4/+7
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Prep for RC2 later todayDavid Heinemeier Hansson2009-02-271-1/+1
|
* Metal can now line in plugins under app/metal [#2045 state:committed]Matthew Rudy Jacobs2009-02-273-9/+19
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Force all internal calls to Array#to_sentence to use English [#2010 ↵David Heinemeier Hansson2009-02-271-1/+1
| | | | state:resolved]
* load plugin view_paths to action_mailer view_paths and make action_mailer ↵Sven Fuchs2009-02-221-24/+26
| | | | | | use them [#2031 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix loader's LoadError exception message to mention missing plugins and omit ↵Oshoma Momoh2009-02-131-1/+1
| | | | | | | | | loaded plugins. Prior to this change the LoadError message listed all plugins if any one of them was missing. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1921 state:committed]
* Only silence backtrace from plugin lib dirsJeremy Kemper2008-12-301-1/+2
|
* Clean trailing / after rails root from backtracesJeremy Kemper2008-12-301-1/+1
|
* Diverge Metal implementation from Rack::Cascade since we want the last app ↵Joshua Peek2008-12-192-44/+22
| | | | to return its headers and body if the status is a 404.
* Merge docrailsPratik Naik2008-12-191-1/+1
|
* Cheaper metal cascadeJeremy Kemper2008-12-182-10/+51
|
* Rename Rails::Rack::Logger -> LogTailer. Speed up log mtime checks.Jeremy Kemper2008-12-183-29/+36
|
* Cheaper log tail time comparisonJeremy Kemper2008-12-181-3/+3
|
* Make generated Metal bits a pure rack endpoint application (not middleware)Joshua Peek2008-12-171-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of calling super to pass the request on, return a 404. The modified app looks like this: # app/metal/poller.rb class Poller def self.call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "text/html"}, "Hello, World!"] else [404, {"Content-Type" => "text/html"}, "Not Found"] end end end But you aren't locked in to just Rails: # app/metal/api.rb require 'sinatra' Sinatra::Application.default_options.merge!(:run => false, :env => :production) Api = Sinatra.application unless defined? Api get '/interesting/new/ideas' do 'Hello Sinatra!' end
* Introduce Rails MetalJoshua Peek2008-12-162-0/+22
| | | | | | | | | | | | | | | | | | | # app/metal/poller.rb class Poller < Rails::Rack::Metal def call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "application/json"}, Message.recent.to_json] else super end end end * There is a generator to help you get started `script/generate metal poller` * Also, metal bits can be ran standalone with rackup `rackup app/metal/poller.rb`
* Added gem backtrace pretty priting (Juan Lupión) [#1497 state:committed]David Heinemeier Hansson2008-12-151-0/+3
|
* Silence server backtrace in rescue templates and log files. Also remove some ↵Joshua Peek2008-12-051-2/+4
| | | | noise from missing template errors.
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-12-031-0/+1
|\
| * handle missing dependecies in gem loadingMatt Jones2008-12-011-0/+1
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* | Require rack/utils explicitlyJeremy Kemper2008-12-031-0/+2
|/
* Include Rack in the server noiseDavid Heinemeier Hansson2008-11-291-2/+2
|
* Added view path support for engines [DHH]David Heinemeier Hansson2008-11-272-15/+30
|
* Let all plugins not just engines have a config/routes.rb fileDavid Heinemeier Hansson2008-11-261-1/+2
|
* Added that config/routes.rb files in engine plugins are automatically loaded ↵David Heinemeier Hansson2008-11-262-3/+37
| | | | (and reloaded when they change in dev mode) [DHH]