Aaron Patterson
974ff0dd43
singleton method added is no longer needed
2010-11-17 14:26:35 -08:00
Aaron Patterson
0bea9fd6be
schema migrations work as instances
2010-11-17 14:26:34 -08:00
Aaron Patterson
8b2f801ed8
converted migrations to support instance methods
2010-11-17 14:26:34 -08:00
Neeraj Singh
fe2f168d40
fix warning during test execution
...
[#5997 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-11-17 20:19:07 -02:00
Santiago Pastorino
08eee5ce20
Fix stupid error
2010-11-17 20:06:19 -02:00
Santiago Pastorino
884e3506d2
Bump builder to 3.0.0
2010-11-17 19:35:58 -02:00
Aaron Patterson
77440ec51a
fixing assertions so error messages will be more helpful
2010-11-17 13:02:03 -08:00
Santiago Pastorino
646e5202e0
Typo fixed
2010-11-17 10:27:44 -02:00
Carl Lerche
401c1835af
Anchors should be allowed on constraints that are not on path segments
2010-11-16 21:46:15 -08:00
Carl Lerche
1deeaf5495
The PRE part of the rails version is a string or nil
2010-11-16 17:23:39 -08:00
Carl Lerche
d20eab85bf
Removing the old release.rb script
2010-11-16 17:19:47 -08:00
Carl Lerche
c3dd1238c5
Small cleanup of the release task
2010-11-16 17:19:47 -08:00
Carl Lerche
df5fe4d83c
Add a task to tag the commit and push
2010-11-16 17:19:47 -08:00
Carl Lerche
aa0732dc00
Ignore the dist directory
2010-11-16 17:19:47 -08:00
Carl Lerche
482790db6c
Add a task to commit the changes
2010-11-16 17:19:47 -08:00
Carl Lerche
dab1d8dcc6
Add some sanity checks to the gem push script
2010-11-16 17:19:47 -08:00
Carl Lerche
6b3f521b80
Remove some useless comments from the release task
2010-11-16 17:19:47 -08:00
Carl Lerche
4ff8c59fb7
Update the main Rakefile to use the new release tasks
2010-11-16 17:19:47 -08:00
Carl Lerche
fb5b2ba186
Add a new file containing tasks related to releasing
2010-11-16 17:19:47 -08:00
Carl Lerche
ccd2f3ede5
Update the version.rb files to include a PRE part
2010-11-16 17:19:46 -08:00
Carl Lerche
7e4f9dbd67
Remove the old gem release task
2010-11-16 17:19:46 -08:00
Aaron Patterson
2738ec891b
removing many unused variables
2010-11-16 17:06:50 -08:00
Aaron Patterson
08c64bbd39
super automatically passes on the implicit block
2010-11-16 14:28:19 -08:00
Aaron Patterson
05320e3788
use unless instead of if !
2010-11-16 14:28:19 -08:00
Aaron Patterson
5f608fc7c4
removing space errors
2010-11-16 14:28:19 -08:00
Aaron Patterson
c801f233df
reloading an association will properly set attributes of instantiated objects. Thanks Brian Palmer [ #5802 state:resolved]
2010-11-16 14:28:19 -08:00
Piotr Sarnacki
1395545404
Do not run migrations from mounted engine separately.
...
There is no good way now to run migrations for mounted engine in test application,
but that way of running migrations makes it really hard to run
engine in development mode and test it (you need to copy migrations
in dev mode and in that case in tests they will be run twice).
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-11-16 22:58:13 +01:00
Aaron Patterson
59ba800698
refactoring uniq method
2010-11-16 13:34:18 -08:00
Aaron Patterson
7ebd36d1c4
refactor to reduce method calls
2010-11-16 11:43:11 -08:00
Alexandru Catighera
a5cdf0b9eb
Fix ActiveRecord calculations when grouped by multiple fields
2010-11-16 10:38:47 -08:00
Aaron Patterson
254b0a4bbb
using a merge with a Hash[] rather than a loop to add SAX parsed attributes
2010-11-16 10:09:42 -08:00
Piotr Sarnacki
437ceab139
Create directory before copying migrations if it does not exist
2010-11-16 17:00:01 +01:00
Piotr Sarnacki
510375b501
Fix plugin new --mountable: ActionController instead of ActiveController
2010-11-16 16:41:37 +01:00
Piotr Sarnacki
ced8ebcee0
Change inside_namespace method to inside_template and use it in all templates by default
...
The initial implementation of namespacing was based on wrong
assumptions. Namespacing path and class names in templates
should be based on current namespace and skip_namespace attribute,
but it should be not necessary to wrap content on all the templates
into additional block methods.
2010-11-16 16:38:14 +01:00
Xavier Noria
a820d0afdd
revises RDoc of AR::Base#==
2010-11-16 15:58:37 +01:00
Santiago Pastorino
4718d097ff
Models should be equals even after destroyed
...
[#5978 state:committed]
2010-11-16 12:40:40 -02:00
Xavier Noria
dff0dfb7f8
adds a publish_docs task to force stable docs generation and publishing after a new stable tag has been pushed
2010-11-16 14:07:55 +01:00
Josh Kalderimis
e1e780a31d
Brought the domain method in AD http url inline with subdomain where @@tld_length is used by default. Also set the default value of @@tld_length to 1.
2010-11-16 18:57:51 +08:00
Doug Ireton
ecd0310e14
Fix misspelling of 'deprecation' in plugin_generator.
2010-11-16 15:37:29 +08:00
Aaron Patterson
ace84a003c
support finding by a ruby class [ #5979 state:resolved]
2010-11-15 20:25:43 -08:00
Aaron Patterson
7bf9cbb766
adding more test coverage around finding with active record objects
2010-11-15 15:30:58 -08:00
José Valim
bd96e45641
Fix failing tests.
2010-11-16 00:04:38 +01:00
Josh Kalderimis
1d5842b27c
updated the rails guide to reflect changes in the action view railtie relating to the asset id cache code
2010-11-16 00:04:37 +01:00
Josh Kalderimis
2bed4d94e6
changed asset_timestamps_cache to asset_ids_cache, added an rdoc comment to the new public api, and updated the railtie
2010-11-16 00:04:37 +01:00
Josh Kalderimis
ce1f87673c
corrected the AV railtie to use the new home for cache_asset_timestamps, and merged asset id caching and asset paths together.
2010-11-16 00:04:37 +01:00
Josh Kalderimis
0ff1c5935f
reorganised the the common asset helpers module into a class and have it include the id caching module, this class is now shared from the view instance to the asset include tag helpers (js and css)
2010-11-16 00:04:37 +01:00
Josh Kalderimis
6a609dbc82
incorporated most of the feedback from José
2010-11-16 00:04:37 +01:00
Josh Kalderimis
6747ae2708
reduced duplication between the javascript and stylesheet asset tag methods, also split the asset id caching methods into a separate module for easy inclusion and use by the asset include tag class and base asset tag helpers
2010-11-16 00:04:36 +01:00
Josh Kalderimis
7a38c8b9f5
removed an assert from a test as it was testing a private method
2010-11-16 00:04:36 +01:00
Josh Kalderimis
1c129f8f8e
separated the asset id methods to a separate module, removed some dupliation with the various path methods, and moved the base asset tag methods to a base module so the asset id module can play nice with the path generation
2010-11-16 00:04:36 +01:00