1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

21967 commits

Author SHA1 Message Date
Aaron Patterson
315f555744 Merged pull request from arunagw/master.
jdbcpostgresql support added into template.
2011-04-26 10:32:29 -07:00
David Heinemeier Hansson
9dc41a27d9 Merged pull request from joshk/assign_attributes.
AR update_attributes api is updated to reflect the addition of assign_att
2011-04-26 10:00:51 -07:00
Aaron Patterson
8111facdb4 Merged pull request from joshk/assign_attributes.
AR update_attributes api is updated to reflect the addition of assign_att
2011-04-26 09:22:43 -07:00
Joshua Peek
472f3fb61f Merged pull request from joshk/bump_multi_json.
bump multi_json dependency
2011-04-26 09:07:14 -07:00
Josh Kalderimis
bb7024b6ec AR update_attributes api is updated to reflect the addition of assign_attributes 2011-04-26 18:00:57 +02:00
Josh Kalderimis
1233e09b7d bump multi_json dependency 2011-04-26 17:54:41 +02:00
Aaron Patterson
6e02a61f39 Merged pull request from beanieboi/master.
Added support for tsvector datatype in postgres
2011-04-26 08:52:37 -07:00
Sven Fuchs
a5b0f7064c bump the i18n gem to 0.6.0beta1 and update docs for the i18n exception handler [ state:committed]
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-04-26 15:10:58 +02:00
Mikel Lindsaar
dd44626c7f Updating to use Mail v2.3.0
Need to move the require of mail in test/abstract_unit to be after active support
  to make sure we use ActiveSupport multibyte handlers, otherwise, Mail will load its
  internal multibyte compat
2011-04-26 20:05:59 +10:00
Benjamin Fritsch
714b4a82f4 Added tsvector Datatype Support
Applied Patch from https://rails.lighthouseapp.com/projects/8994/tickets/5577-suport-from-tsvector-data-type-in-postgresql
2011-04-26 09:47:40 +02:00
José Valim
b73c84eaa7 Merged pull request from joshk/assign_attributes.
deprecated the use of guard_protected_attributes with attributes= in AR
2011-04-25 23:58:23 -07:00
Aaron Patterson
3a109f78cd Merged pull request from kuinak/master.
Correct documentation for asset host strategy for 1.9.2
2011-04-25 17:00:52 -07:00
Aaron Patterson
933644519c Merged pull request from rsim/case_insensitive_uniqueness_validation_fix.
Do not use SQL LIKE operator for case insensitive uniqueness validation
2011-04-25 15:33:05 -07:00
Aaron Patterson
242d24d385 Merged pull request from arunagw/sass_new.
Using sass directly as new version is out.
2011-04-25 15:30:02 -07:00
Josh Kalderimis
f9d5a7bb8c deprecated the use of the guard_protected_attributes argument with attributes= in AR in favor of assign_attributes(attrs, :without_protection => true) 2011-04-25 23:57:09 +02:00
Arun Agrawal
348b5b9938 Using sass directly as new version is out. 2011-04-26 02:56:05 +05:30
Diego Carrion
873c13fc0d added test for number_to_phone with an empty string and area code true
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-04-25 17:57:54 -03:00
Arun Agrawal
253ba7779e Database creation for jdbcpostgresql #jruby 2011-04-26 02:13:20 +05:30
Vishnu Atrai
16d3266144 jdbcpostgresql support added into template. 2011-04-26 01:00:37 +05:30
Raimonds Simanovskis
070c9984a5 Do not use SQL LIKE operator for case insensitive uniqueness validation
It can result in wrong results if values contain special % or _ characters. It is safer to use SQL LOWER function and compare for equality.
2011-04-25 22:17:18 +03:00
Aaron Patterson
12427c8dea Merged pull request from arunagw/jdbcmysql_db_create.
Fixed error when running db:create with jdbcmysql
2011-04-25 11:17:16 -07:00
José Valim
f3c335f1cd Merged pull request from joshk/bump_deprecation.
bump AS deprecation_horizon to 3.2
2011-04-25 10:58:50 -07:00
Josh Kalderimis
75216248ef bump AS deprecation_horizon to 3.2 2011-04-25 19:55:09 +02:00
Rashmi Yadav
6464f7b9be Fixed error when running db:create with jdbcmysql 2011-04-25 23:05:17 +05:30
Aaron Patterson
17fec021d1 Merged pull request from arunagw/jdbc_test.
Start Adding jdbcmysql support to new rails template.
2011-04-25 09:20:40 -07:00
Aaron Patterson
2fc8d7ea90 Merged pull request from metaskills/empty_inserts.
Use existing #empty_insert_statement_value for an insert with no columns.
2011-04-25 09:18:39 -07:00
Piotr Sarnacki
f545a5081e Fix tests, main_app mounted helper must be defined explicitly now. 2011-04-25 17:57:52 +02:00
Piotr Sarnacki
d4bea35f1a Make ActionController::Base.modules_for_helpers and ActionController::Base.all_helpers_from_path public methods 2011-04-25 15:02:41 +02:00
Piotr Sarnacki
820c0feda3 Explicitly define main_app proxy 2011-04-25 14:56:58 +02:00
Piotr Sarnacki
e38b4436a5 Add Engine#helpers method which loads all the engine's helpers 2011-04-25 13:44:27 +02:00
David Heinemeier Hansson
723a0f82c4 Go with latest Sass directly 2011-04-25 06:34:43 -05:00
José Valim
2bc48561d5 Fix tests. 2011-04-25 11:14:39 +02:00
David Chelimsky
8d00dfca7f rename test case to better describe use case
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-04-25 09:31:48 +02:00
Prem Sichanugrist
f2fc921447 No need to check for both full and mountable.
All mountable engine are considered `full?` already.
2011-04-25 15:30:58 +08:00
Prem Sichanugrist
a1c31eca47 Add app/assets/images directory to plugin new generator 2011-04-25 15:30:58 +08:00
David Heinemeier Hansson
05ce0007db Temporarily disable uglifier until a new version depending on execjs 0.2.0 can be released (tomorrow?) 2011-04-24 20:34:22 -05:00
David Heinemeier Hansson
b306502286 Merge branch 'master' of github.com:rails/rails 2011-04-24 20:33:33 -05:00
Ken Collins
35d0b6029f Use existing #empty_insert_statement_value for an insert with no columns. 2011-04-24 12:52:28 -04:00
Josh Kalderimis
bf40c729c6 minor correction to the AMo mass-assignment security docs 2011-04-24 09:58:12 +02:00
Josh Kalderimis
f3b9d3aba8 added config.active_record.whitelist_attributes which creates an empty whitelist of attributes available for mass assignment for all models in your app 2011-04-24 09:58:12 +02:00
Josh Kalderimis
b3ba36830b updated the security guide on the updated mass-assignment security scopes addition, and assign_attributes in AR 2011-04-24 09:56:48 +02:00
Josh Kalderimis
a08d04bedf Added assign_attributes to Active Record which accepts a mass-assignment security scope using the :as option, while also allowing mass-assignment security to be bypassed using :with_protected 2011-04-24 09:53:18 +02:00
Josh Kalderimis
1054ebd613 AM mass assignment security attr_accessible and attr_protected now allow for scopes using :as => scope eg.
attr_accessible :name
    attr_accessible :name, :admin, :as => :admin
2011-04-24 09:53:18 +02:00
Arun Agrawal
51854de52c Adding jdbcsqlite3 name in comment. 2011-04-24 01:59:20 +05:30
Arun Agrawal
d59a9507cb Looks more friendly. 2011-04-24 00:17:19 +05:30
Arun Agrawal
b335533e16 jdbcsqlite3 support added into template. #jruby 2011-04-23 19:03:24 +05:30
David Heinemeier Hansson
8d7efe6a4e Stop adding actual dummy tests (they clutter up the real ones in a new app), just show how its done 2011-04-23 13:22:30 +02:00
Xavier Noria
af1b48926f Merge branch 'master' of git://github.com/lifo/docrails
Conflicts:
	activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
2011-04-23 01:11:24 +02:00
Xavier Noria
df70b9dfb2 copy-edits 0e2644c 2011-04-23 00:54:20 +02:00
Xavier Noria
ca2f826f5a copy-edits e2656e0 2011-04-23 00:54:19 +02:00