- 27 7月, 2012 1 次提交
-
-
由 Anatoly Makarevich 提交于
-
- 24 5月, 2012 1 次提交
-
- 20 5月, 2012 1 次提交
-
-
由 Henrik Hodne 提交于
For future reference, this is the regex I used: ^\s*#\s*\n(?!\s*#). Replace with the first match, and voilà! Note that the regex matches a little bit too much, so you probably want to `git add -i .` and go through every single diff to check if it actually should be changed.
-
- 15 5月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 03 5月, 2012 1 次提交
-
-
由 Anuj Dutta 提交于
-
- 09 4月, 2012 1 次提交
-
-
由 Santiago Pastorino 提交于
This reverts commit 174cf8b2, reversing changes made to 7ecd6a73. The reverted commit improved the performance in the wrong place, now we have added this 6ddbd184 improvement.
-
- 06 4月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
stringified keys
-
- 05 4月, 2012 2 次提交
-
-
由 ara.t.howard 提交于
-
由 ara.t.howard 提交于
-
- 02 3月, 2012 2 次提交
-
-
-
由 José Valim 提交于
-
- 04 1月, 2012 1 次提交
-
-
由 José Valim 提交于
Clean up routes inclusion and add some comments for the next soul that decides to adventure on this code.
-
- 30 12月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 09 12月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 25 11月, 2011 2 次提交
-
-
由 Uģis Ozols 提交于
-
由 Uģis Ozols 提交于
-
- 04 10月, 2011 1 次提交
-
-
由 Kamil Sobieraj 提交于
:subdomain can now be specified with a value of false in url_for, allowing for subdomain(s) removal from the host during link generation. Closes #2025
-
- 28 8月, 2011 1 次提交
-
-
由 Vijay Dev 提交于
-
- 12 8月, 2011 2 次提交
-
-
由 Arun Agrawal 提交于
-
由 Andrew Kaspick 提交于
when calling url_for with a hash, additional (likely unwanted) values (such as :host) would be returned in the hash... calling #dup on the hash prevents this
-
- 24 5月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
-
- 11 5月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
-
- 24 11月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 23 11月, 2010 1 次提交
-
-
由 Josh Kalderimis 提交于
:subdomain, :domain and :tld_length options can now be used in url_for, allowing for easy manipulation of the host during link generation. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 29 9月, 2010 2 次提交
-
-
由 José Valim 提交于
Avoid (@_var ||= nil) pattern by using initialize methods and ensuring everyone calls super as expected.
-
由 Emilio Tagua 提交于
-
- 28 9月, 2010 1 次提交
-
-
由 Emilio Tagua 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 27 9月, 2010 1 次提交
-
-
由 Emilio Tagua 提交于
-
- 04 9月, 2010 7 次提交
-
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
mounted_helpers are a bit similar to url_helpers. They're automatically included in controllers for Rails.application and each of mounted Engines. Mounted helper allows to call url_for and named helpers for given application. Given Blog::Engine mounted as blog_engine, there are 2 helpers defined: app and blog_engine. You can call routes for app and engine using those helpers: app.root_url app.url_for(:controller => "foo") blog_engine.posts_path blog_engine.url_for(@post)
-
由 Piotr Sarnacki 提交于
* added more tests for prefix generation * fixed bug with generating host for both prefix and url * refactored url_for method * organized tests for prefix generation
-
由 Piotr Sarnacki 提交于
A few examples: url_for Blog::Engine, :posts_path url_for Blog::Engine, @post url_for Blog::Engine, :action => "main", :controller => "index"
-
由 Piotr Sarnacki 提交于
It's based specifying application's script_name with: Rails.application.default_url_options = {:script_name => "/foo"} default_url_options method is delegated to routes. If router used to generate url differs from the router passed via env it always overwrites :script_name with this value.
-
由 Piotr Sarnacki 提交于
This requires knowledge about original SCRIPT_NAME and the parent router. It should be pass through the env as ORIGIAL_SCRIPT_NAME and action_dispatch.parent_routes
-
由 Piotr Sarnacki 提交于
This technique is here to allow using routes from Engine in Application and vice versa. When using Engine routes inside Application it should generate prefix based on mount point. When using Engine routes inside Engine it should use env['SCRIPT_NAME']. In any other case it should generate prefix as env should not be even available.
-
- 29 8月, 2010 1 次提交
-
-
由 Joost Baaij 提交于
-
- 30 7月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 22 7月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
options could be of any kind of Hash (Hash, HashWithIndifferentAccess or OrderedHash) this way we keep the properties of the options passed as an argument
-
- 21 7月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 02 7月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-