Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow ActiveResource to work with non-generated ids [#5660 state:resolved] | Jacques Crocker | 2010-09-25 | 5 | -5/+80 |
| | | | | | | This commit updates new? so that it knows whether or not the record was actually new or not, and doesn't rely solely on the presence of id. This enables the ability to set a custom primary_key that is not autogenerated by the server. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix 'warning: method redefined' [#5551 state:resolved] | Krekoten' Marjan | 2010-09-25 | 1 | -4/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix logging when cache key contains % sign [#5570 state:resolved] | Krekoten' Marjan | 2010-09-25 | 2 | -1/+17 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove duplicate helper method | Krekoten' Marjan | 2010-09-25 | 1 | -3/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Update abort message (ht: tilsammans). | José Valim | 2010-09-25 | 1 | -1/+1 |
| | |||||
* | Don't act destructively on ActiveModel::Name#human options hash. [#5366 ↵ | John Firebaugh | 2010-09-25 | 3 | -2/+13 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Don't duplicate Rack::Response functionality. [#5320 state:resolved] | John Firebaugh | 2010-09-25 | 1 | -18/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add ActionDispatch::TestResponse tests. | John Firebaugh | 2010-09-25 | 1 | -0/+21 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rails.application is set anyway, we don't need to set it manually, this was ↵ | Piotr Sarnacki | 2010-09-25 | 2 | -3/+1 |
| | | | | | | purpose of different behavior in tests and in application Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Generators fix: properly check if module should be created when creating a ↵ | Piotr Sarnacki | 2010-09-25 | 3 | -2/+11 |
| | | | | | | namespaced model Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | memoized protected methods should remain protected | Andrew Kaspick | 2010-09-24 | 2 | -0/+16 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Delegate ActiveRecord::Base.offset to scoped methods (analogous to limit) ↵ | Marcelo Giorgi | 2010-09-24 | 2 | -1/+7 |
| | | | | | | [#5688 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | attr_accessor_with_default should raise an ArgumentError not a RuntimeError | Aaron Patterson | 2010-09-24 | 2 | -4/+3 |
| | |||||
* | Fix warning message when db/schema.rb doesn't exist [#5625 state:resolved] | Brian Candler | 2010-09-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | got rid of the "ambiguous first argument; put parentheses or even spaces" ↵ | Jeff Kreeftmeijer | 2010-09-24 | 1 | -32/+32 |
| | | | | | | warnings in the scaffold_generator tests [#4872 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Bump thor version requirement. | José Valim | 2010-09-24 | 2 | -3/+1 |
| | |||||
* | Refactor namespaced generators to use module_namespacing block helper | Piotr Sarnacki | 2010-09-24 | 9 | -17/+24 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Generators are not aware of namespace of isolated engines and applications | Piotr Sarnacki | 2010-09-24 | 7 | -10/+194 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | restore behavior of touch for models without :updated_xx [#5439 state:resolved] | tnp | 2010-09-24 | 2 | -8/+15 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Properly interpolate i18n keys in modules [#5572 state:resolved] | Rodrigo Rosenfeld Rosas | 2010-09-24 | 5 | -8/+37 |
| | |||||
* | These tests shouldn't depend on local time to pass or fail, we can use utc here. | Emilio Tagua | 2010-09-24 | 2 | -2/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix typo and add sanity test for code statistics rake task. | Emilio Tagua | 2010-09-24 | 2 | -2/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Ensures the app generator generates the correct @app_name. [#5434 ↵ | Fred Wu | 2010-09-24 | 2 | -4/+8 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | There is no need to use instance_eval since the proc is created in the same ↵ | José Valim | 2010-09-24 | 1 | -1/+1 |
| | | | | context it is eval'ed. | ||||
* | only abort in test_help in production env | David Chelimsky | 2010-09-24 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make redirect_to accept blocks [#5643 state:resolved] | Nando Vieira | 2010-09-24 | 2 | -1/+43 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Better shortcut options for custom validators [#5672 state:resolved] | Obie Fernandez | 2010-09-24 | 3 | -5/+32 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | reject_id option should be respected while using nested_attributes | Neeraj Singh | 2010-09-24 | 2 | -3/+12 |
| | | | | | | [#5579 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Changed documentation for auto_link so that the truncate example works ↵ | Kevin Hughes | 2010-09-24 | 1 | -1/+1 |
| | | | | | | [#5694 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | resolves rdoc conflict | Xavier Noria | 2010-09-23 | 14 | -68/+74 |
|\ | |||||
| * | some fixes in routing guide | eparreno | 2010-09-22 | 1 | -5/+5 |
| | | |||||
| * | Document form_for behaviour when using file_field inside the block | Joost Baaij | 2010-09-21 | 2 | -3/+7 |
| | | |||||
| * | Remove mention of Rails 3 deprecated option ↵ | Simone Carletti | 2010-09-20 | 1 | -2/+0 |
| | | | | | | | | | | config.action_controller.use_accept_header. See http://github.com/rails/rails/blob/v3.0.0/actionpack/lib/action_controller/deprecated/base.rb#L108-111 | ||||
| * | updated instructions on how to change the default session store | Diego Carrion | 2010-09-18 | 1 | -2/+2 |
| | | |||||
| * | updated instructions to generate the migration for the ActiveRecord session ↵ | Diego Carrion | 2010-09-18 | 2 | -2/+2 |
| | | | | | | | | store table | ||||
| * | Updated yaffle_test.rb from 2.2 to require 'test_helper' and extend ↵ | Andrew Ferk | 2010-09-18 | 1 | -2/+2 |
| | | | | | | | | ActiveSupport::TestCase | ||||
| * | Removed leading : from database.yml file | Andrew Ferk | 2010-09-18 | 1 | -14/+14 |
| | | |||||
| * | Updated output that should be seen from the initial rake | Andrew Ferk | 2010-09-18 | 1 | -2/+4 |
| | | |||||
| * | Updated test_helper.rb to require the init.rb file from the correct folder | Andrew Ferk | 2010-09-18 | 1 | -1/+1 |
| | | |||||
| * | removed leading : from database.yml file. dbfile has been updated to ↵ | Andrew Ferk | 2010-09-18 | 1 | -2/+2 |
| | | | | | | | | database in database.yml | ||||
| * | rails/init.rb is deprecated, so keep init.rb in root of plugin. updated for ↵ | Andrew Ferk | 2010-09-18 | 1 | -3/+1 |
| | | | | | | | | 1.3 Organized Your Files | ||||
| * | 'rails generate plugin' --with-generator option has changed to --generator. ↵ | Andrew Ferk | 2010-09-18 | 1 | -17/+20 |
| | | | | | | | | Updated the output that is seen after executing 'rails generate plugin yaffle --generator' | ||||
| * | added 'bundle install' command to h4. Create the Basic Application | Andrew Ferk | 2010-09-18 | 1 | -0/+1 |
| | | |||||
| * | Tiny fixes to rdoc | Alexey Mahotkin | 2010-09-16 | 5 | -9/+9 |
| | | |||||
| * | Typos | rspeicher | 2010-09-15 | 1 | -3/+3 |
| | | |||||
| * | Updated old fashion form_for samples. | oamblet | 2010-09-15 | 2 | -3/+3 |
| | | | | | | | | when 'form_for :resource, @resource ...' is found, remove the first argument (there is no need to use the :as option when the name is the same). | ||||
| * | Updated the Cache Money repo link to one that works with Rails 3. | Fred Wu | 2010-09-15 | 1 | -1/+1 |
| | | |||||
| * | fixed an unclear description in Sigular Resources. | Jamison Dance | 2010-09-14 | 1 | -1/+1 |
| | | |||||
* | | Hash#to_s behaves differently between 1.8 and 1.9, so adjust accordingly | Aaron Patterson | 2010-09-23 | 1 | -1/+1 |
| | | |||||
* | | Improve performance of applications using file uploads by not busting the ↵ | Carl Lerche | 2010-09-22 | 1 | -29/+20 |
| | | | | | | | | method cache on every request containing a file upload. |