A (more) complete cheatsheet for Arel, including NamedFunction functions, raw SQL and window functions.
posts = Arel::Table.new(:posts)
posts = Post.arel_table # ActiveRecordThis is an example of how I combine interaction/service classes with Wisper event broadcasting in Rails.
In this example, I show a UsersController#create API, a corresponding service object, and all the test code/listeners to make it all happen.
The outcome is:
object.save in dozens of places.grep for usage of it.| # /etc/mail/sendmail.conf | |
| # | |
| # Copyright (c) 2001-2010 Richard Nelson. All Rights Reserved. | |
| # Version: 8.14.4 | |
| # Time-stamp: <2014-02-11 13:02:08 cowboy> | |
| # | |
| # Parameter file for sendmail (sourced by /usr/share/sendmail/sendmail) | |
| # Make all changes herein, instead of altering /etc/init.d/sendmail. | |
| # | |
| # After making changes here, you'll need to run /usr/sbin/sendmailconfig |
| Tested only on Mac 10.7.4, Core 2 Duo | |
| 1.) Go to oracle.com and download the java jdk. My files were output to: | |
| /System/Library/Java/JavaVirtualMachines/1.6.0.jdk | |
| 2.) gem install rhodes (or sudo gem install rhodes) | |
| 3.) Assuming you have Homebrew installed: | |
| brew install qt (this make take an hour to install) |