Debugging Rails 3 in (Aptana 3.4.2, Windows 7)
More Rails stuff. I was using command line & vim to do some Rails stuff until fingers got tired of switching between files. So I did a some searches and…
More Rails stuff. I was using command line & vim to do some Rails stuff until fingers got tired of switching between files. So I did a some searches and…
Mainly notes on setting up the following (suitable for Dreamhost's Rails setup): Ruby 1.8.7-p374 Rails 3.0.3 Ruby devkit (from http://rubyinstaller.org/downloads/) MySQL Installer 5.6.17 Community Server 64-bit mysql2 GEM '0.2.22' Install Ruby 1.8.7 by…
Just recently upgraded from an Android 2.1 device (HTC Aria) to an Android 4.4 device (Moto X). To enable the developer USB feature that allows installing and running (let alone…
Typical use of the builder starts with: import groovy.xml.MarkupBuilder def writer = new StringWriter() def xml = new MarkupBuilder(writer) ... String generatedXml = writer.toString() Then the "building" part is what's…
Two clients will be covered: XMemcached and spymemcached Xmemcached Add dependency Add in BuildConfig.groovy: dependencies { ... compile 'com.googlecode.xmemcached:xmemcached:1.4.2' } Set up the bean Add in conf/spring/resources.groovy: beans = {…
Multiple Apps Two logical partitions of services, perhaps one public-facing with GSPs serving up UI and one headless with REST services, can be easier to maintain if implemented as separate…
Services Content here applies to Grails 2.1.3 and may also apply to newer versions. Setup We start with three service classes: OneService, TwoService, and ThreeService. OneService uses TwoService which uses…