2005-02-07 08:14:05 -05:00
*SVN*
2005-02-17 15:12:27 -05:00
* Added 'recent' as a rake target that'll run tests for files that changed in the last 10 minutes #612 [bitsweat]
2005-02-17 14:36:49 -05:00
* Changed script/console to default to development environment and drop --no-inspect #650 [bitsweat]
2005-02-07 09:15:53 -05:00
* Added that the 'fixture :posts' syntax can be used for has_and_belongs_to_many fixtures where a model doesn't exist #572 [bitsweat]
2005-02-07 09:08:38 -05:00
* Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik]
2005-02-07 08:14:05 -05:00
* Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat]
2005-01-25 15:10:24 -05:00
*0.9.5* (January 25th, 2005)
2005-01-22 09:39:03 -05:00
2005-01-25 13:45:06 -05:00
* Fixed dependency reloading by switching to a remove_const approach where all Active Records, Active Record Observers, and Action Controllers are reloading by undefining their classes. This enables you to remove methods in all three types and see the change reflected immediately and it fixes #539. This also means that only those three types of classes will benefit from the const_missing and reloading approach. If you want other classes (like some in lib/) to reload, you must use require_dependency to do it.
2005-01-24 11:19:29 -05:00
2005-01-24 08:41:57 -05:00
* Added Florian Gross' latest version of Breakpointer and friends that fixes a variaty of bugs #441 [Florian Gross]
2005-01-24 08:12:40 -05:00
* Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [rasputnik]
2005-01-24 06:59:22 -05:00
* Fixed that script/breakpointer didn't get the Ruby path rewritten as the other scripts #523 [brandt@kurowski.net]
2005-01-24 05:58:17 -05:00
* Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter
2005-01-23 19:26:44 -05:00
* Fixed that models that weren't referenced in associations weren't being reloaded in the development mode by reinstating the reload
2005-01-22 09:39:03 -05:00
* Fixed that generate scaffold would produce bad functional tests
* Fixed that FCGI can also display SyntaxErrors
2005-01-25 15:10:24 -05:00
* Upgraded to Active Record 1.6.0, Action Pack 1.4.0
2005-01-22 09:39:03 -05:00
2005-01-18 09:13:12 -05:00
*0.9.4.1* (January 18th, 2005)
2005-01-17 12:31:15 -05:00
2005-01-18 04:58:48 -05:00
* Added 5-second timeout to WordNet alternatives on creating reserved-word models #501 [Marcel Molina]
2005-01-17 12:31:15 -05:00
* Fixed binding of caller #496 [Alexey]
2005-01-18 09:13:12 -05:00
* Upgraded to Active Record 1.5.1, Action Pack 1.3.1, Action Mailer 0.6.1
2005-01-17 12:31:15 -05:00
2005-01-16 20:13:15 -05:00
*0.9.4* (January 17th, 2005)
2005-01-04 17:50:15 -05:00
2005-01-16 20:05:14 -05:00
* Added that ApplicationController will catch a ControllerNotFound exception if someone attempts to access a url pointing to an unexisting controller [Tobias Luetke]
2005-01-15 13:19:51 -05:00
* Flipped code-to-test ratio around to be more readable #468 [Scott Baron]
2005-01-15 12:28:01 -05:00
* Fixed log file permissions to be 666 instead of 777 (so they're not executable) #471 [Lucas Carlson]
2005-01-15 08:26:48 -05:00
* Fixed that auto reloading would some times not work or would reload the models twice #475 [Tobias Luetke]
2005-01-15 08:22:58 -05:00
* Added rewrite rules to deal with caching to public/.htaccess
2005-01-13 10:49:26 -05:00
* Added the option to specify a controller name to "generate scaffold" and made the default controller name the plural form of the model.
2005-01-10 19:07:35 -05:00
* Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from
RAILS_ENV instead of just forcing development #424 [Tobias Luetke]
2005-01-10 18:47:32 -05:00
* Fixed script/console to work with Windows (that requires the use of irb.bat) #418 [octopod]
2005-01-06 10:56:57 -05:00
* Fixed WEBrick servlet slowdown over time by restricting the load path reloading to mod_ruby
2005-01-04 17:50:15 -05:00
* Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes
2005-01-16 20:13:15 -05:00
* Upgraded to Active Record 1.5, Action Pack 1.3, Action Mailer 0.6
2005-01-04 17:50:15 -05:00
2005-01-04 07:35:10 -05:00
*0.9.3* (January 4th, 2005)
2004-12-22 19:52:34 -05:00
2005-01-03 18:15:22 -05:00
* Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416
2005-01-01 13:10:10 -05:00
* Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra]
2005-01-04 07:35:10 -05:00
* Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries
for functional testing.
* Added protection for creating a model through the generators with a name of an existing class, like Thread or Date.
It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]
2004-12-31 11:38:24 -05:00
2004-12-29 19:20:52 -05:00
* Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that
the environment options needs to change from:
Before in development.rb:
2005-01-01 13:10:10 -05:00
ActionController::Base.reload_dependencies = true
ActiveRecord::Base.reload_associations = true
2004-12-29 19:20:52 -05:00
Now in development.rb:
Dependencies.mechanism = :load
Before in production.rb and test.rb:
2005-01-01 13:10:10 -05:00
ActionController::Base.reload_dependencies = false
ActiveRecord::Base.reload_associations = false
2004-12-29 19:20:52 -05:00
Now in production.rb and test.rb:
Dependencies.mechanism = :require
2005-01-04 07:35:10 -05:00
* Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
2004-12-23 14:12:07 -05:00
2005-01-04 07:35:10 -05:00
* Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]
2004-12-22 19:52:34 -05:00
2005-01-04 07:48:09 -05:00
* Upgraded to Action Pack 1.2.0 and Active Record 1.4.0
2004-12-22 19:52:34 -05:00
2004-12-22 18:56:17 -05:00
*0.9.2*
2004-12-17 19:47:30 -05:00
2004-12-22 08:17:35 -05:00
* Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev]
2004-12-22 08:08:26 -05:00
* Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]
2004-12-20 08:21:01 -05:00
* Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.
2004-12-19 08:29:39 -05:00
* Added graceful handling of an inaccessible log file by redirecting output to STDERR with a warning #330 [rainmkr]
2004-12-19 07:55:22 -05:00
* Added support for a -h/--help parameter in the generator #331 [Ulysses]
2004-12-22 18:56:17 -05:00
* Fixed that File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin]
* Upgraded to Action Pack 1.1.0 and Active Record 1.3.0
2004-12-17 19:47:30 -05:00
2004-12-16 19:42:53 -05:00
*0.9.1*
* Upgraded to Action Pack 1.0.1 for important bug fix
* Updated gem dependencies
*0.9.0*
2004-11-23 20:04:44 -05:00
2004-12-16 10:45:55 -05:00
* Renamed public/dispatch.servlet to script/server -- it wasn't really dispatching anyway as its delegating calls to public/dispatch.rb
2004-12-15 06:30:09 -05:00
* Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible
for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
2004-12-16 10:47:04 -05:00
* Added script/console that makes it even easier to start an IRB session for interacting with the domain model. Run with no-args to
2004-12-06 13:19:24 -05:00
see help.
2004-12-16 10:45:55 -05:00
* Added breakpoint support through the script/breakpointer client. This means that you can break out of execution at any point in
2004-11-23 20:04:44 -05:00
the code, investigate and change the model, AND then resume execution! Example:
class WeblogController < ActionController::Base
def index
@posts = Post.find_all
breakpoint "Breaking out from the list"
end
end
2004-12-16 10:45:55 -05:00
So the controller will accept the action, run the first line, then present you with a IRB prompt in the breakpointer window.
Here you can do things like:
2004-11-23 20:04:44 -05:00
Executing breakpoint "Breaking out from the list" at .../webrick_server.rb:16 in 'breakpoint'
>> @posts.inspect
=> "[#<Post:0x14a6be8 @attributes={\"title\"=>nil, \"body\"=>nil, \"id\"=>\"1\"}>,
#<Post:0x14a6620 @attributes={\"title\"=>\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]"
>> @posts.first.title = "hello from a breakpoint"
=> "hello from a breakpoint"
...and even better is that you can examine how your runtime objects actually work:
>> f = @posts.first
=> #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
>> f.
Display all 152 possibilities? (y or n)
Finally, when you're ready to resume execution, you press CTRL-D
* Changed environments to be configurable through an environment variable. By default, the environment is "development", but you
can change that and set your own by configuring the Apache vhost with a string like (mod_env must be available on the server):
SetEnv RAILS_ENV production
...if you're using WEBrick, you can pick the environment to use with the command-line parameters -e/--environment, like this:
ruby public/dispatcher.servlet -e production
* Added a new default environment called "development", which leaves the production environment to be tuned exclusively for that.
* Added a start_server in the root of the Rails application to make it even easier to get started
* Fixed public/.htaccess to use RewriteBase and share the same rewrite rules for all the dispatch methods
* Fixed webrick_server to handle requests in a serialized manner (the Rails reloading infrastructure is not thread-safe)
* Added support for controllers in directories. So you can have:
app/controllers/account_controller.rb # URL: /account/
app/controllers/admin/account_controller.rb # URL: /admin/account/
NOTE: You need to update your public/.htaccess with the new rules to pick it up
* Added reloading for associations and dependencies under cached environments like FastCGI and mod_ruby. This makes it possible to use
those environments for development. This is turned on by default, but can be turned off with
ActiveRecord::Base.reload_associations = false and ActionController::Base.reload_dependencies = false in production environments.
* Added support for sub-directories in app/models. So now you can have something like Basecamp with:
app/models/accounting
app/models/project
app/models/participants
app/models/settings
It's poor man's namespacing, but only for file-system organization. You still require files just like before.
Nothing changes inside the files themselves.
* Fixed a few references in the tests generated by new_mailer [bitsweat]
* Added support for mocks in testing with test/mocks
* Cleaned up the environments a bit and added global constant RAILS_ROOT
*0.8.5* (9)
* Made dev-util available to all tests, so you can insert breakpoints in any test case to get an IRB prompt at that point [bitsweat]:
def test_complex_stuff
@david.projects << @new_project
breakpoint "Let's have a closer look at @david"
end
You need to install dev-utils yourself for this to work ("gem install dev-util").
* Added shared generator behavior so future upgrades should be possible without manually copying over files [bitsweat]
* Added the new helper style to both controller and helper templates [bitsweat]
* Added new_crud generator for creating a model and controller at the same time with explicit scaffolding [bitsweat]
* Added configuration of Test::Unit::TestCase.fixture_path to test_helper to concide with the new AR fixtures style
* Fixed that new_model was generating singular table/fixture names
* Upgraded to Action Mailer 0.4.0
* Upgraded to Action Pack 0.9.5
* Upgraded to Active Record 1.1.0
*0.8.0 (15)*
* Removed custom_table_name option for new_model now that the Inflector is as powerful as it is
* Changed the default rake action to just do testing and separate API generation and coding statistics into a "doc" task.
* Fixed WEBrick dispatcher to handle missing slashes in the URLs gracefully [alexey]
* Added user option for all postgresql tool calls in the rakefile [elvstone]
* Fixed problem with running "ruby public/dispatch.servlet" instead of "cd public; ruby dispatch.servlet" [alexey]
* Fixed WEBrick server so that it no longer hardcodes the ruby interpreter used to "ruby" but will get the one used based
on the Ruby runtime configuration. [Marcel Molina Jr.]
* Fixed Dispatcher so it'll route requests to magic_beans to MagicBeansController/magic_beans_controller.rb [Caio Chassot]
* "new_controller MagicBeans" and "new_model SubscriptionPayments" will now both behave properly as they use the new Inflector.
* Fixed problem with MySQL foreign key constraint checks in Rake :clone_production_structure_to_test target [Andreas Schwarz]
* Changed WEBrick server to by default be auto-reloading, which is slower but makes source changes instant.
Class compilation cache can be turned on with "-c" or "--cache-classes".
* Added "-b/--binding" option to WEBrick dispatcher to bind the server to a specific IP address (default: 127.0.0.1) [Kevin Temp]
* dispatch.fcgi now DOESN'T set FCGI_PURE_RUBY as it was slowing things down for now reason [Andreas Schwarz]
* Added new_mailer generator to work with Action Mailer
* Included new framework: Action Mailer 0.3
* Upgraded to Action Pack 0.9.0
* Upgraded to Active Record 1.0.0
*0.7.0*
* Added an optional second argument to the new_model script that allows the programmer to specify the table name,
which will used to generate a custom table_name method in the model and will also be used in the creation of fixtures.
[Kevin Radloff]
* script/new_model now turns AccountHolder into account_holder instead of accountholder [Kevin Radloff]
* Fixed the faulty handleing of static files with WEBrick [Andreas Schwarz]
* Unified function_test_helper and unit_test_helper into test_helper
* Fixed bug with the automated production => test database dropping on PostgreSQL [dhawkins]
* create_fixtures in both the functional and unit test helper now turns off the log during fixture generation
and can generate more than one fixture at a time. Which makes it possible for assignments like:
@people, @projects, @project_access, @companies, @accounts =
create_fixtures "people", "projects", "project_access", "companies", "accounts"
* Upgraded to Action Pack 0.8.5 (locally-scoped variables, partials, advanced send_file)
* Upgraded to Active Record 0.9.5 (better table_name guessing, cloning, find_all_in_collection)
*0.6.5*
* No longer specifies a template for rdoc, so it'll use whatever is default (you can change it in the rakefile)
* The new_model generator will now use the same rules for plural wordings as Active Record
(so Category will give categories, not categorys) [Kevin Radloff]
* dispatch.fcgi now sets FCGI_PURE_RUBY to true to ensure that it's the Ruby version that's loaded [danp]
* Made the GEM work with Windows
* Fixed bug where mod_ruby would "forget" the load paths added when switching between controllers
* PostgreSQL are now supported for the automated production => test database dropping [Kevin Radloff]
* Errors thrown by the dispatcher are now properly handled in FCGI.
* Upgraded to Action Pack 0.8.0 (lots and lots and lots of fixes)
* Upgraded to Active Record 0.9.4 (a bunch of fixes)
*0.6.0*
* Added AbstractionApplicationController as a superclass for all controllers generated. This class can be used
to carry filters and methods that are to be shared by all. It has an accompanying ApplicationHelper that all
controllers will also automatically have available.
* Added environments that can be included from any script to get the full Active Record and Action Controller
context running. This can be used by maintenance scripts or to interact with the model through IRB. Example:
require 'config/environments/production'
for account in Account.find_all
account.recalculate_interests
end
A short migration script for an account model that had it's interest calculation strategy changed.
* Accessing the index of a controller with "/weblog" will now redirect to "/weblog/" (only on Apache, not WEBrick)
* Simplified the default Apache config so even remote requests are served off CGI as a default.
You'll now have to do something specific to activate mod_ruby and FCGI (like using the force urls).
This should make it easier for new comers that start on an external server.
* Added more of the necessary Apache options to .htaccess to make it easier to setup
* Upgraded to Action Pack 0.7.9 (lots of fixes)
* Upgraded to Active Record 0.9.3 (lots of fixes)
*0.5.7*
* Fixed bug in the WEBrick dispatcher that prevented it from getting parameters from the URL
(through GET requests or otherwise)
* Added lib in root as a place to store app specific libraries
* Added lib and vendor to load_path, so anything store within can be loaded directly.
Hence lib/redcloth.rb can be loaded with require "redcloth"
* Upgraded to Action Pack 0.7.8 (lots of fixes)
* Upgraded to Active Record 0.9.2 (minor upgrade)
*0.5.6*
* Upgraded to Action Pack 0.7.7 (multipart form fix)
* Updated the generated template stubs to valid XHTML files
* Ensure that controllers generated are capitalized, so "new_controller TodoLists"
gives the same as "new_controller Todolists" and "new_controller todolists".
*0.5.5*
* Works on Windows out of the box! (Dropped symlinks)
* Added webrick dispatcher: Try "ruby public/dispatch.servlet --help" [Florian Gross]
* Report errors about initialization to browser (instead of attempting to use uninitialized logger)
* Upgraded to Action Pack 0.7.6
* Upgraded to Active Record 0.9.1
* Added distinct 500.html instead of reusing 404.html
* Added MIT license
*0.5.0*
* First public release