Displaying 3 results from an estimated 3 matches for "twrug".
2009 Feb 26
7
javascript using jQuery.js and prototype.js doesnt work 2get
Hi........
M hving javascript "scripts.js" which uses jQuery.js in rails
application. bt when it is used along with prototype.js, one of the
javascripts which hs been included first in my application.rhtml
fails...
Do some1 hv any solution how to make both the scripts work 2gether...
I tried using
<script>
jQuery.noConflict();
</script>
bt of no use. problem
2008 Dec 31
2
How to set homepage in Rails
Hi :
If I want http://localhost:3000/share to be homepage
http://localhost:3000/,
How can I do setting from rails ,please?
Thanks.
Cruise
--
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
2009 Jan 18
2
after_save -- stack level too deep
Hi all,
I''m running into a brick wall trying to figure out my problem here. I
have a model that has a boolean property called "paid". I''d like to
add the following to my model:
def after_save
self.amount == self.splits.sum(:amount) ? self.update_attribute
(:paid, true) : self.update_attribute(:paid, false)
end
The problem is, when I do this I get an error that