- 17 3月, 2012 3 次提交
-
-
由 Mike Mulvaney 提交于
not be added to every ActiveRecord::Base object. Changed acts_as_yaffle so it will include the LocalInstanceMethods module. Now only models that call acts_as_yaffle will get the squawk method, instead of pushing them into every ActiveRecord::Base.
-
由 Mike Mulvaney 提交于
acts_as_yaffle expects a symbol, so the string was causing the tests to always fail.
-
由 Mark Larimer 提交于
This reverts commit 55df1df9.
-
- 15 3月, 2012 23 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Waseem Ahmad 提交于
-
由 adman65 提交于
-
由 adman65 提交于
-
由 Ryan Bigg 提交于
[getting started] [ci skip] Fix incongruant use of 'we' and 'you'. Expand upon creating posts section
-
由 Ryan Bigg 提交于
-
由 Ryan Bigg 提交于
This section involves a medium amount of setup and explanation (for the end user's own good!). It's not really about creating a post... that's for the *next* section
-
由 Ryan Bigg 提交于
-
由 Ryan Bigg 提交于
-
由 Ryan Bigg 提交于
-
由 Ryan Bigg 提交于
This guide will now create the new action first, then the create action and so on and so forth until the controller has all seven RESTful actions. We are doing this to demonstrate to a user how to *properly* build a controller. We do not mention scaffold *ON PURPOSE*. Scaffold is evil. We want to show the users the different facets of creating a resource, and this is how we're going to do it.
-
由 Ryan Bigg 提交于
[getting started] Default root route in config/routes.rb is for a welcome controller. Let's make it easy by creating a WelcomeController, not a HomeController, in the guide
-
由 Ryan Bigg 提交于
-
由 Ryan Bigg 提交于
-
由 Ryan Bigg 提交于
-
由 Ryan Bigg 提交于
This is to show one of the 'wins' of Rails nice and early. More are demonstrated as we flow through the guide.
-
由 Ryan Bigg 提交于
-
由 Ryan Bigg 提交于
-
由 Ryan Bigg 提交于
This should be a configuration setting on your text editor, rather than hard-coded into the guide
-
由 Ryan Bigg 提交于
-
由 Ryan Bigg 提交于
[getting started] *THE* way to install Rails is by running +gem install+. You should not run this as the root user.
-
由 Ryan Bigg 提交于
We will mention this as we introduce the routing components for Rails later on in the guide.
-
由 Ryan Bigg 提交于
This is because newbies don't need to know immediately all the different ways of configuring a database on Rails. The default is SQLite3 which'll work on most operating systems by default. The only reason for it to *not* work is due to missing packages on the operating system, which should be taken care of in some sort of 'Installing Rails for <Operating System> guide.
-
- 14 3月, 2012 10 次提交
-
-
由 Matthew Daubert 提交于
-
由 Vijay Dev 提交于
-
由 Alexey Vakhov 提交于
Use proc as default argument to recaculate recipients array every time
-
由 Vijay Dev 提交于
-
由 Piotr Sarnacki 提交于
add 'include_hidden' option to select tag, closes #5402
-
由 Vijay Dev 提交于
Revert "Fixed Issue #2884 ActiveModel::SecurePassword code / rdoc conflict; an elucidated explanation has been provided and ActiveModel en-locale updated to present a less confusing attribute name for 'password_digest' in form errors due to "has_secure_password"" This reverts commit ddbea947. Reason: Includes non-doc changes.
-
由 Vijay Dev 提交于
-
由 Aaron Patterson 提交于
Fix GH #5399. connection_pools's keys are ActiveRecord::Base::ConnectionSpecification objects.
-
由 kennyj 提交于
-
由 Vasiliy Ermolovich 提交于
-
- 13 3月, 2012 4 次提交
-
-
由 José Valim 提交于
Do not use the attributes hash in the scaffold functional tests
-
由 Rafael Mendonça França 提交于
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
Undo unwarranted change to coding conventions. I am not a fan of the aesthetics of private/public at the root but more importantly, we should not be changing coding conventions with almost a decades worth of history at a whim. The conventions are there to have a consistent coding style, that is their primary purpose. When there is so much existing code with the existing style, any change will have to lift an enormous burden of proof as to why its overwhelmingly superior. That is not the case here, so this is being reverted.
-