-
Notifications
You must be signed in to change notification settings - Fork 21
/
helpa-usage.html
126 lines (118 loc) · 15.3 KB
/
helpa-usage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---
layout: post
title: Helpa Usage
date: 2013-1-1
---
<p>If you'd like to test out these commands, please do so in the #logga channel, not #rubyonrails.</p>
<p>These are some of the hard-coded commands in helpa. These are in no particular order. Others have been omitted because they serve little to no purpose:</p>
<code>!google [query] or !g [query]</code>: Outputs a link to a google with the search term specified.
<code>!gg [query]</code>: Outputs a link to letmegooglethatforyou.com with the search term specified.
<code>!railscast [query]</code>: Outputs a link to railscast.com searching for railscasts for the search term specified.
<code>!githubs [query]</code>: Outputs a link to the search page for Github for the search term specified.
<code>!github [user] [repository] [branch] [path]</code>: Outputs a link to a specified page on github</p>
<p>The rest don't take any arguments:</p>
<p></p><li><code>!finders</code> - http://guides.rubyonrails.org/active_record_querying.html - ActiveRecord Querying Guide by Ryan Bigg</li>
<li><code>!routing</code> - http://guides.rubyonrails.org/routing.html - Rails Routing From the Outside In - Rails Guide - by Mike Gunderloy</li>
<li><code>!associations</code> - http://guides.rubyonrails.org/association_basics.html - Active Record Association Basics by Mike Gunderloy</li>
<li><code>!rails-view-lookup</code> - http://stuff.lilleaas.net/how_rails_selects_which_view_to_render - Which conditions Rails uses in order to determine which view file to render when controller actions are invoked.</li>
<li><code>!routing-overview</code> - http://frozenplague.net?p=108 - An introductory guide to RESTful Routing.</li>
<li><code>!guides</code> - http://guides.rubyonrails.org/ - Ruby on Rails guides, part of the ongoing hackfest</li>
<li><code>!pastie</code> - http://pastie.org - Paste code examples there, and post the URL of the pastie here when you're done. http://pastie.org/help/ for more info on usage.</li>
<li><code>!botsnack</code> - Nom nom. Thanks, {nick}!</li>
<li><code>!peepcode</code> - http://peepcode.com - Awesome screencasts of very high quality and relevance. The $9 is totally worth it.</li>
<li><code>!railscasts</code> - http://railscasts.com - Great free screencasts by Ryan Bates. Tips, tricks and best practices.</li>
<li><code>!lighthouse</code> - http://lighthouseapp.com - beautiful simple issue tracking</li>
<li><code>!fatmodel</code> - http://weblog.jamisbuck.org/2006/10/18/skinny-controller-fat-model - Place the logic where it's supposed to be placed</li>
<li><code>!rails-lighthouse</code> - http://rails.lighthouseapp.com - Rails issue tracking</li>
<li><code>!wwrd</code> - What would Radar do?</li>
<li><code>!windows</code> - http://frozenplague.net/?page_id=175#windows</li>
<li><code>!scaffold</code> - http://tpope.us/rubyonrailsfaq.html</li>
<li><code>!passenger</code> - Passenger (mod_rails) is an Apache module for running Rails applications. It is fast, sexy and very easy to setup. http://www.modrails.com/</li>
Other resources: Peepcode's setup guide: http://peepcode.com/products/phusion-passenger Railscasts: http://railscasts.com/episodes/122-passenger-in-development
<li><code>!webhosts</code> - Ruby on Rails hosting can be provided for by any (decent) webhost, for a list of webhosts (we won't normally recommend them) look here: http://wiki.rubyonrails.com/rails/pages/RailsWebHosts</li>
<li><code>!rubyonrails-talk</code> - http://groups.google.com/group/rubyonrails-talk</li>
<li><code>!yourownblog</code> - http://nubyonrails.com/articles/about-this-blog-memcached - Every beginning Rails developer should write their own blog software.</li>
<li><code>!select_all</code> - http://guides.rails.info/finders.html#_tt_select_all_tt</li>
<li><code>!i18n</code> - http://guides.rubyonrails.org/i18n.html - Guide on i18n by Sven Fuchs and Karel Minařík</li>
<li><code>!howtoaskforhelp</code> - http://frozenplague.net/?p=267</li>
<li><code>!acl</code> - ACL (Access Control List) System 2 - Great for restricting access to actions - http://github.com/ezmobius/acl_system2</li>
<li><code>!skitch</code> - http://skitch.com - Image sharing site with related application for Mac OS X</li>
<li><code>!deploy-ubuntu</code> - Deploying on Ubuntu / Debian using Apache, Rails, Passenger and Capistrano: http://frozenplague.net/?p=230</li>
<li><code>!quickref</code> - http://www.zenspider.com/Languages/Ruby/QuickRef.html - Quick reference for the Ruby Language</li>
<li><code>!multi-updates</code> - http://github.com/Radar/multi-updates/tree/master - An example application of how to update multiple rows from the same model at the same time.</li>
<li><code>!editor</code> - Commonly used Rails editors: Textmate, Vim, Aptana, Emacs, Netbeans, Eclipse and (NOT) Dreamweaver (see !ide for ide lists)</li>
<li><code>!ide</code> - Eclipse, Netbeans and Aptana. Please note if you are on Mac Os X an IDE is not recommended.</li>
<li><code>!git</code> - Git is a version control system used for both Ruby on Rails and most plugin / gems. See http://git.or.cz/ for Git, http://codebase.com or http://github.com/ or http://unfuddle.com for hosting and http://railscasts.com/episodes/96 for managing Rails applications with git</li>
<li><code>!beginner</code> - Resources for beginning in Ruby on Rails: http://guides.rubyonrails.org/ - http://peepcode.com/ - http://railscasts.com/</li>
<li><code>!cms</code> - Content Managmenet Systems for Ruby on Rails: Typo http://typosphere.org - Mephisto http://mephistoblog.com/ - RadiantCMS http://radiantcms.org/</li>
<li><code>!haml</code> - Haml is an alternative markup to HTML, for help and information please see the documentation http://haml.hamptoncatlin.com/docs/ or ##haml</li>
<li><code>!docs</code> - Rails: http://api.rubyonrails.org/ Ruby: http://www.ruby-doc.org/core/</li>
<li><code>!hosts</code> - Ruby on Rails hosting can be provided for by any (decent) webhost, for a list of webhosts (we won't normally recommend them) look here: http://wiki.rubyonrails.com/rails/pages/RailsWebHosts</li>
<li><code>!ask</code> - Don't ask to ask, just ask! http://www.catb.org/~esr/faqs/smart-questions.html</li>
<li><code>!capistrano</code> - Capistrano is a neat deployment method for Rails applications, see the capistrano site for more details http://www.capify.org/getting-started/rails</li>
<li><code>!contributing</code> - How to contribute to Rails, written by Mike Gunderloy: http://afreshcup.com/2008/10/27/contributing-to-rails-step-by-step/</li>
<li><code>!wwod</code> - What would Obama do?</li>
<li><code>!ajax</code> - New to Ajax / Javascript? Before asking a million questions in the channel please have a look through some great resources: http://peepcode.com/products/javascript-with-prototypejs http://peepcode.com/products/ajax-with-prototypejs</li>
<li><code>!association-basics</code> - http://guides.rubyonrails.org/association_basics.html by Mike Gunderloy</li>
<li><code>!notabug</code> - It's probably not a bug: http://www.catb.org/esr/faqs/smart-questions.html#id306810</li>
<li><code>!pebkac</code> - PEBKAC: Problem Existing Between Keyboard And Chair. Also known as \"User Error\"</li>
<li><code>!used</code> - Don't ask \"has anybody used <thing>?\". It's better to just ask your problem and if anyone has used <thing> they will most likely answer.</thing></thing></li>
<li><code>!best</code> - \"Best\" and \"better\" are subjective. Try to use a different term.</li>
<li><code>!cte</code> - You must remove the line from config/environments/development.rb and config/environments/production.rb in order to get your app to function correctly: http://frozenplague.net/2008/11/cache-template-extensions-error/</li>
<li><code>!textmate</code> - Kick-ass text editor for Macs. If you have a Mac, code, and don't use TextMate you're a fool. http://macromates.com/</li>
<li><code>!zen</code> - Relax, take a deep breath, find your center - peace is waiting for you there.</li>
<li><code>!rails-ubuntu</code> - How to set up and deploy on Ubuntu: http://frozenplague.net/2008/09/ubuntu-rails-apache-passenger-capistrano-you/</li>
<li><code>!scale</code> - Ruby on Rails doesn't scale - nothing to see here - move along. http://twitter.com/</li>
<li><code>!try</code> - Why don't you try it?</li>
<li><code>!pickaxe</code> - http://rubycentral.com/book - Programming Ruby is a free online book on Ruby.</li>
<li><code>!everused</code> - just post the fucking bug already</li>
<li><code>!rtft</code> - This channel has a topic that contains helpful links. One of these links may help you. If you cannot see the topic, type /topic and press enter.</li>
<li><code>!version</code> - Please tell us what version of Ruby, Rubygems and Rails you're running on so we can better help you. Also if you haven't already tell us your operating system too.</li>
<li><code>!logs</code> - Check your logs. Namely everything in the log folder of your rails app and the error and access logs from Apache or whatever else you're using.</li>
<li><code>!section</code> - Please section your pasties using the syntax of \"## section header\", for more information see this: http://skitch.com/radarlistener/9d6i/new-pastie</li>
<li><code>!paperclip</code> - http://www.thoughtbot.com/projects/paperclip/ - A file upload plugin for Rails. w/ example http://github.com/anathematic/paperclip_example/tree/master</li>
<li><code>!attachment_fu</code> - http://github.com/technoweenie/attachment_fu/tree/master - A file upload plugin for Rails.</li>
<li><code>!rboard</code> - http://github.com/radar/rboard - A forum system built in Rails. It's compatible with Rails 2.2 and includes internationalization support.</li>
<li><code>!tutorial</code> - you can probably find a tutorial on it on either, http://www.railscasts.com or http://www.peepcode.com</li>
<li><code>!migrations</code> - http://guides.rubyonrails.org/migrations.html - Migrations Guide by Frederick Cheung </li>
<li><code>!gettingstarted</code> - http://guides.rubyonrails.org/getting_started.html - Getting started with Ruby on Rails guide written by Mike Gunderloy</li>
<li><code>!restful-routing</code> - http://frozenplague.net/2008/01/restful-routing-an-overview/ - Shorter guide to RESTful routing with Rails.</li>
<li><code>!will_paginate</code> - http://github.com/mislav/will_paginate/tree/master - Pagination plugin for Rails.</li>
<li><code>!howlong</code> - http://www.google.com.au/search?q=how+long+is+a+piece+of+string</li>
<li><code>!ohgoditburns</code> - Your HTML skills are inferior: http://catb.org/esr/html-hell.html</li>
<li><code>!jquery</code> - Main site: http://jquery.com/ Docs: http://visualjquery.com/</li>
<li><code>!rubygems</code> - http://rubyforge.org/frs/?group_id=126 - The latest version of Rubygems (and all other versions) can be found here. Download the archived version, extract it and run \"ruby setup.rb\" to install it.</li>
<li><code>!rspec</code> - http://rspec.info - RSpec is a Behaviour Driven Development framework for Ruby. </li>
<li><code>!cucumber</code> - Cucumber - Successor to stories for rspec http://github.com/aslakhellesoy/cucumber/tree/master</li>
<li><code>!texteditor</code> - Windows - \"E Text Editor\" - http://www.e-texteditor.com/</li>
Linux - Vim (http://www.vim.org/) or Emacs (http://www.gnu.org/software/emacs/)
Mac - TextMate (http://macromates.com/) or Vim, Emacs (as above)
<li><code>!arrayconditions</code> - How to use array conditions in find statements ([\"field = ?\", some_variable]) http://guides.rubyonrails.org/finders.html#_array_conditions</li>
<li><code>!rest</code> - REST - (REpresentational State Transfer) - http://en.wikipedia.org/wiki/Representational_State_Transfer</li>
<li><code>!thinkingsphinx</code> - http://ts.freelancing-gods.com/ - Thinking Sphinx - Plugin for Rails, uses Sphinx (full-text search engine for MySQL and PostgreSQL)</li>
<li><code>!wrong</code> - http://www.youtube.com/watch?v=WrjwaqZfjIY</li>
<li><code>!dry</code> - Don't repeat yourself. Asking the same question repeatedly will not give you more answers.</li>
<li><code>!books</code> - What book should you get? - http://is.gd/hYWq</li>
<li><code>!gist</code> - http://gist.github.com - Put your codes online with pretty syntax highlighting and the ability to embed it into other pages.</li>
<li><code>!slicehost</code> - http://slicehost.com - A hosting company that provides a box that you can install Ruby on Rails on to.</li>
<li><code>!ruby191</code> - Ruby 1.9.1 does NOT work with certain Rubygems and may not be fully compatible with Rails yet. For more information see : http://frozenplague.net/2009/01/ruby-191-rubygems-rails/ and http://isitruby19.com</li>
<li><code>!activemerchant</code> - Activemerchant provides you with a way to interact between your application and supported payment gateways: http://github.com/Shopify/active_merchant/tree/master</li>
<li><code>!saasy</code> - SaaSy: Scaffold-like application for payment gateways (uses ActiveMerchant): http://github.com/maccman/saasy/tree/master</li>
<li><code>!auth</code> - If you want to implement user's with passwords in your application, you can use AuthLogic: http://github.com/binarylogic/authlogic/tree/master or Restful Authentication: http://github.com/technoweenie/restful-authentication/tree/master</li>
<li><code>!survivalguide</code> - http://tore.darell.no/doc.html - Survival guide for Ruby. Must read.</li>
<li><code>!wiki</code> - http://wiki.rubyonrails.org/</li>
<li><code>!ducktyping</code> - Learn about Duck Typing here: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/100511</li>
<li><code>!tags</code> - tag plugins : http://github.com/mbleigh/acts-as-taggable-on/tree/master w/ plugin example: http://github.com/anathematic/taggable-example/tree/master</li>
<li><code>!application</code> - As of Rails 2.3 ApplicationController has been moved from app/controllers/application.rb to app/controllers/application_controller.rb to better follow convention. Rename your application.rb file using 'rake rails:update:application_controller'.</li>
<li><code>!render</code> - Layouts and Rendering Guide by Mike Gunderloy</li>
<li><code>!layout</code> - Layouts and Rendering Guide by Mike Gunderloy</li>
<li><code>!cache_template_loading</code> - cache_template_loading= is a deprecated method. Remove this from all files in config/environments</li>
<li><code>!tasks</code> - Have you checked the rake tasks for your project, yet? Simply type 'rake -T' inside your application's directory to list the available rake tasks.</li>
<li><code>!expectedgot</code> - If you're getting Model(#[num]) expected, got String(#[num]) this is because you're passing in from the form a parameter with the name of a belongs_to association. Make sure you change the field name to association_id.</li>
<li><code>!elaborate</code> - Instead of simply saying 'something is broken' please elaborate on this by showing us the code and the error that you are getting by making a pastie (http://pastie.org) about it.</li>
<li><code>!files</code> - Storing files in the database will only lead to misery and heartbreak. Store files where they belong, in the filesystem. Use a file-upload plugin such as Paperclip to acheive this.</li>
<li><code>!caching</code> - How to scale your Rails application: http://railslab.newrelic.com/scaling-rails</li>
<li><code>!topic</code> - Read the topic. It contains useful information. Failure to read the topic will result in horrible consequences.</li>
<li><code>!validations</code> - How to make your own custom validations: http://august.lilleaas.net/creating_your_own_validations</li><p></p>
</div>
</div>