This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails plugin new <name> (basics) | |
rails plugin new <name> -T (skip Test::Unit) | |
rails plugin new <name> -T --dummy-path=spec/dummy (specify dummy app path since we're using rspec) | |
rails plugin new <name> -T --dummy-path=spec/dummy --full --mountable (full is for making an engine, mountable is for putting inside dummy app) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks! This helped me understand nested resource needs in forms! Still have more controller methods to update but got the hang of it. Hopefully in the future I will nest resources from the beginning so that the generators set up things magically! | |
Just a heads up on this error I got when trying to comment on your blog: | |
http://angry-fly.com/wp-comments-post.php | |
ERROR: Could not read CAPTCHA token file. | |
There is a problem with the directory /si-captcha-for-wordpress/captcha/temp/. | |
Directory Unwritable (fix permissions). Permissions are: 0755 Fixing this may require assigning 0755 permissions or higher (e.g. 0777 on some hosts. Try 0755 first, because 0777 is sometimes too much and will not work.) Fixing the actual problem is recommended, but you can uncheck this setting on the si captcha options page: "Use CAPTCHA without PHP session" and the captcha will work this way just fine (as long as PHP sessions are working). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1="JLM$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Twas the night of Demo-Day | |
By Kevin Musiorski aka @RudyOnRails | |
December 15, 2012 | |
It was the night before Demo-day, when all through 1871, | |
Not a macbook was booted, no commands were run. | |
The keynotes were all dropboxed with care, | |
In hopes that applauding crowds soon would be here. | |
The students were resting, all snug in their sub leases, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#container | |
- if current_user | |
.bttn.header=link_to("Profile", affiliate_path(current_user)) | |
.bttn.header=link_to("Logout", logout_path, :method => :delete) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This is a manifest file that'll be compiled into application.css, which will include all the files | |
* listed below. | |
* | |
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, | |
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. | |
* | |
* You're free to add application-wide styles to this file and they'll appear at the top of the | |
* compiled file, but it's generally better to create a new file per style scope. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> | |
<s:Header> | |
<ActivityId CorrelationId="73bbd6fa-f623-4019-bfdd-a487b558d18d" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">c586a362-f9bc-4fc6-b96c-070d90c8f5e4</ActivityId> | |
</s:Header> | |
<s:Body> | |
<GetCarriersPlansBenefitsResponse xmlns="http://www.quotit.com/Services/ActWS/ACA/2"> | |
<GetCarriersPlansBenefitsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |
<RequestId xmlns="">3425375</RequestId> | |
<PodId xmlns="">Stage-v2</PodId> | |
<TotalMilliseconds xmlns="">689</TotalMilliseconds> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Bxml::ClientApiLogger request logging should log a transaction id for the request before any other messages | |
Failure/Error: BRIX_API_LOGGER.debug_log.should include(expected_message) | |
expected "Account: Joe Smith: [CH-DEV/TestEE] - Server: Kevins-MacBook-Air.local - Process: 9477 - Transaction: 1389929961 - fake request start\n=======================================================================================================================================\n\nAccount: Joe Smith: [CH-DEV/TestEE] - Server: Kevins-MacBook-Air.local - Process: 9477 - Transaction: 1389929961 - Date & Time: 2014-01-17 03:39:21 AM - Event: Sending 'fake request' request\n-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n<?xml version=\"1.0\"?>\n<Tag1>\n <Login>Data has been redacted</Login>\n <Person>Data has been redacted</Person>\n <P |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Retrying git clone 'git://github.com/alepulver/backstage' "/home/travis/build/connectedhealth/Health-Care-Cost-Calculator/.bundle/ruby/2.0.0/cache/bundler/git/backstage-e2f72fb835cfcba514aec7ea3779eff8dea74ddd" --bare --no-hardlinks due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command `git clone 'git://github.com/alepulver/backstage' "/home/travis/build/connectedhealth/Health-Care-Cost-Calculator/.bundle/ruby/2.0.0/cache/bundler/git/backstage-e2f72fb835cfcba514aec7ea3779eff8dea74ddd" --bare --no-hardlinks` in directory /home/travis/build/connectedhealth/Health-Care-Cost-Calculator has failed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Downloads/libiconv-1.13.1: ./configure --prefix=/usr/local/Cellar/libiconv/1.13.1 | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d | |
checking for gawk... no | |
checking for mawk... no | |
checking for nawk... no | |
checking for awk... awk | |
checking whether make sets $(MAKE)... yes | |
checking whether make sets $(MAKE)... (cached) yes |
OlderNewer