- 28 5月, 2012 1 次提交
-
-
由 Piotr Sarnacki 提交于
When more than one directory for helpers is provided to a controller, it should preserver the order of directories. Given 2 paths: MyController.helpers_paths = ["dir1/helpers", "dir2/helpers"] helpers from dir1 should be loaded first. Before this commit, all helpers were mixed and then sorted alphabetically, which essentially would require to rename helpers to get desired order. This is a problem especially for engines, where you would like to be able to predict accurately which engine helpers will load first. (closes #6496)
-
- 27 5月, 2012 16 次提交
-
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Piotr Sarnacki 提交于
railites_order method, introduced in 40b19e06, had a bug that was causing loading application instance twice in initializers if railties_order already included application instance. So for example railties_order = [Foo::Engine, :main_app, Bar::Engine] would result in such railties array: [MyApp::Application, Foo::Engine, MyAppApplication, Bar::Engine] In order to fix it, we need to check for existence of application in both railties_order and railties arrays.
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Erich Menge 提交于
-
由 Vijay Dev 提交于
* update rails versions * remove outdated code snippets * few more corrections
-
由 Deepak Kannan 提交于
-
由 Rafael Mendonça França 提交于
This options can be used to not escape the result by default.
-
由 Rafael Mendonça França 提交于
-
由 Deepak Kannan 提交于
Initially the guide suggests to install gems via "bundle install --without db" But tests for ActiveRecord need to install the gems in db group also, like mysql. The patch clears the bundler options in ".bundle/config" and installs all the gems in Gemfile
-
由 Rafael Mendonça França 提交于
Refactoring the truncate method to not do a sort-circuit return
-
由 Rafael Mendonça França 提交于
Truncate now has the ability to receive a html option that allows it to call rails helpers.
-
- 26 5月, 2012 23 次提交
-
-
由 Li Ellis Gallardo 提交于
This way if my text is long I don't have to do something like this: .text = truncate(@text, :length => 27) if @text.size >= 27 = link_to "continue", notes_path, ....."")
-
由 Vijay Dev 提交于
This guide is currently a wip and pending reviews. [ci skip]
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
installs only the gems that are already in the gemfile [ci skip]
-
由 Vijay Dev 提交于
[guides] Update rails on rack
-
由 Vijay Dev 提交于
[getting started] Update Setting the Application Home Page to show the generated get "welcome/index" route
-
由 Ryan Bigg 提交于
This is fairly common in Rails applications and is requested a lot of the time on Stack Overflow and #rubyonrails
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Aaron Patterson 提交于
Reset postgreSQL search path in db:test:clone_structure.
-
由 Rafael Mendonça França 提交于
Reorder deep_symbolize_keys methods
-
由 Mark McSpadden 提交于
-
由 Aaron Patterson 提交于
Remove prepared statement from system query in postgresql adapter
-
由 Tadas Tamosauskas 提交于
-
由 Rafael Magana 提交于
-
由 Rafael Magana 提交于
-
由 Oscar Del Ben 提交于
-
由 Oscar Del Ben 提交于
-
由 Rafael Magana 提交于
-