Grails 2.0 Login Create Account Pivotal Home Learn Products & Services Groovy/Grails Tool Suite (IDE) Other Products Consulting Training About SpringSource Community Downloads Plugins Facebook connect Twitter connect Log in Login or Email (forgot login) Password (forgot password) Crea...
command generates Ivy reports showing JAR dependencies required by the application. Examples grails dependency-report grails dependency-report runtime Description Usage: grails dependency-report [configuration] Arguments: configuration - optional configuration to generate a report for...
require 'rubygems' require 'em-http' require 'json' class LanguageDetector URL = "http://www.google.com/uds/GlangDetect" include EM::Deferrable def initialize(text) request = EM::HttpRequest.new(URL).get({ :query => {:v => "1.0", :q => text} }) # This is called if the request complete...
Grails 2.0 Login Create Account Pivotal Home Learn Products & Services Groovy/Grails Tool Suite (IDE) Other Products Consulting Training About SpringSource Community Downloads Plugins Facebook connect Twitter connect Log in Login or Email (forgot login) Password (forgot password) Crea...
/* * The value of the indexes 0 and 1 in albums[0] and albums[1] are arbitrary * values that can be anything as long as they are unique within the Map. * They do not correspond to the order of elements in albums because albums * is a Set. */ def bindingMap = ['albums[0]': [id: 9, titl...
It provides an interface for protecting attributes from end-user assignment. This makes Action Controller parameters forbidden to be used in Active Model mass assignment until they have been whitelisted.
The first step is to ensure that we’re running the latest version of Rails 3.2 and that all the application’s gems are up to date as well. Also we’ll need to be running Ruby 1.9.3 or later. It’s also a good idea to check that our app’s test suite is passing fully before starting to up...
Are you a hacker who likes to make music? You know how you feel precise control when you write code you understand, but you have to filter your understanding of your music through oversimplified GUIs which sometimes have terrible UX? I made a series of videos which teaches you how to ...
Chad Pytel February 11, 2013 playbook The following details many of the different tools, people, and processes that run our business. Before discussing those tools, we’d like to say we try to avoid building internal tools. It requires time and money to build and makes you reliant on y...
is a connection between two Active Record models. Associations are implemented using macro-style calls, so that you can declaratively add features to your models. For example, by declaring that one model belongs_to another, you instruct Rails to maintain Primary Key–Foreign Key inform...
This release mitigates a performance problem introduced due to the storing of the location information. On Rubies prior to 2.0 the performance impact was negligible but on Ruby 2.0 and 2.1 performance was much worse. With the fix the performance is not on prior levels but much better....