Displaying 5 results from an estimated 5 matches for "pixnet".
Did you mean:
pirnet
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 Apr 24
1
the puzzle of eigenvector and eigenvalue
...eps by myself.
Finally, it is also my serious problem in the R, I have three
estimators which work for the same data.
Moreover, i utilize the biplot to realize those tendency. But i find
that the the tendency of third estimator mirror the other two, the
figures are linked below
http://hopjimmy123.pixnet.net/album/photo/108526615#pictop
i believe that the tendency should have the same way with the other
estimator and the major problem is about the eigenvalue, i hope that
someone can give me some idea or provide me some solution about this
problem.
Sincerely
2009 Mar 05
6
About before_* callbacks
Hi
I have an problem about before_* callbacks.
I have a model named: Event
And I don''t want anyone to destroy or update any records in Event
model.
So:
[code]
class ActiveRecord::Base
before_destroy :log_illegal_operations
before_update :log_illegal_operations
private
def log_illegal_operations
Event.create({:key => "illegal operation", :value =>
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