Contents contributed and discussions participated by 張 旭
git-flow cheatsheet - 0 views
服务器批量执行工具 PSSH | vpsee.com - 0 views
Chartkick - 0 views
BOXEN - 0 views
Rails Routing from the Outside In - Ruby on Rails Guides - 0 views
-
Resource routing allows you to quickly declare all of the common routes for a given resourceful controller.
-
Rails would dispatch that request to the destroy method on the photos controller with { id: '17' } in params.
-
a resourceful route provides a mapping between HTTP verbs and URLs to controller actions.
- ...86 more annotations...
rails/activeresource - 0 views
-
-
Active Resource is built on a standard JSON or XML format for requesting and submitting resources over HTTP
-
When a request is made to a remote resource, a REST JSON request is generated, transmitted, and the result received and serialized into a usable Ruby object.
- ...2 more annotations...
PHP-FIG - PHP Framework Interop Group - 0 views
OmniAuth: Overview · plataformatec/devise Wiki - 0 views
-
omniauth-provider
-
add the columns "provider" and "uid" to your User model
-
declare the provider in your config/initializers/devise.rb and require it
- ...17 more annotations...
Understanding Ruby Blocks, Procs and Lambdas - Robert Sosinski - 0 views
-
Ruby has four different ways of using closures
-
The code block interacts with a variable
-
collect! will use the code provided within the block on each element in the array
- ...10 more annotations...
Active Record Migrations - Ruby on Rails Guides - 0 views
-
a convenient way to alter your database schema
-
each migration as being a new 'version' of the database
-
On databases that support transactions with statements that change the schema, migrations are wrapped in a transaction
- ...14 more annotations...
plataformatec/devise: Flexible authentication solution for Rails with Warden. - 0 views
-
we advise you to start a simple authentication system from scratch
-
If you are building your first Rails application, we recommend you do not use Devise. Devise requires a good understanding of the Rails Framework
-
The generator will install an initializer which describes ALL of Devise's configuration options
- ...6 more annotations...
Active Record Basics - Ruby on Rails Guides - 0 views
-
the model - which is the layer of the system responsible for representing business data and logic.
-
Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database
-
Database Table - Plural with underscores separating words
- ...33 more annotations...
Getting Started with Rails - Ruby on Rails Guides - 0 views
-
A controller's purpose is to receive specific requests for the application.
-
Routing decides which controller receives which requests
-
The view should just display that information
- ...55 more annotations...
Fred's blog: Web 技術中的 Session 是什麼? - 0 views
The Difference Between Ruby Symbols and Strings - Robert Sosinski - 0 views
-
Symbols are immutable
-
immutable objects can only be overwritten
-
mutable Strings can have their share of issues in terms of creating unexpected results and reduced performance
reSRC · List of Free Programming Books - 0 views
« First
‹ Previous
561 - 580 of 596
Next ›
Showing 20▼ items per page