On Tue, Jul 10, 2012 at 4:42 PM, Scott Ribe wrote:
> Is there a cleaner way to build the url in the following snippet?
>
> $(function() {
> $('#name').change(function() {
> $.ajax({
> url: "<%= url_for({action: 'lookup'}) %>" + "?term=" + this.value,
> ...
> }
> })
>
Is there a cleaner way to build the url in the following snippet?
$(function() {
$('#name').change(function() {
$.ajax({
url: "<%= url_for({action: 'lookup'}) %>" + "?term=" + this.value,
...
}
})
})
})
Note that I should not use a hard-coded URL, because this app
On 10 July 2012 17:45, Sonu Joshi wrote:
> C:\>gem install 'passenger'
> ERROR: Error installing passenger:
> The 'fastthread' native gem requires installed build tools.
Does passenger work with Windows? I cannot find any suggestions that it does.
Colin
>
> Please update your PATH to
C:\>gem install 'passenger'
ERROR: Error installing passenger:
The 'fastthread' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/onec
Thanks it works, it just get confusing with the singular and plurial
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To un
Rails uses four naming conventions for throughout it's code which need to
be followed by the developer (you) for their code to fit with Rails. These
involve selective use or* singular* and *plural *together with *camelize*and
*underscore*.
The simplest way to demonstrate the conventional use i
On Monday, 9 July 2012 20:37:32 UTC-4, bubbler wrote:
>
> I'd like to use autosave => true for an association for its added
> benefits: the parent doesn't save unless the children saves. However, it
> seems to skip validations when saving the children. And this seems to be
> the case since t
Slashdot reader? Do you go shopping and think OOP? Do you dream of big
data?
Is GitHub the first thing you think of when someone says the word fork.
Wimdu is an exciting, new start-up company headquartered in Berlin and
one of the biggest Ruby projects in Europe. We are all about tdd/bdd.
Initial
8 matches
Mail list logo