[Rails] Validations not working?

2011-07-13 Thread Avishai
: G@I$G@GR#GUGshkj4h53$$$*@^ ruby-1.9.2-p180 :008 a.valid? = true I've tried disabling gems, commenting out and then re-adding validations one by one, but nothing seems to work. If you have any fresh direction on how to track this down, I'd really appreciate it. Thanks! -Avishai -- You

Re: [Rails] Validations not working?

2011-07-13 Thread Avishai Weiss
Yes, the price is random junk that's clearly supposed to fail validation, but it passes with no errors. I just tried it with the validations after the field definitions; still the same problem. Cheers, Avishai On Wed, Jul 13, 2011 at 12:42 PM, Bernd Ritter com...@gmail.com wrote: Hi

Re: [Rails] Validations not working?

2011-07-13 Thread Avishai Weiss
#GUGshkj4h53$$$*@^ ruby-1.9.2-p180 :002 a.valid? = *false* I compared the Gemfiles of both apps, and they're identical This is very strange... On Wed, Jul 13, 2011 at 1:32 PM, Bernd Ritter com...@gmail.com wrote: Hi Avishai, i just tried this: irb(main):001:0 G@I$G@GR#GUGshkj4h53$$$*@^.to_i

[Rails] Running multiple sites on the same Rails app

2011-05-05 Thread Avishai
= request.domain}) # do some other stuff like set up some site-wide titles, logos, etc. end Also, I want to be able to show only the categories that contain active download objects for a particular site. Can anyone help me figure out what the best way to go about this is? Thanks! Avishai

[Rails] scraped_resource

2011-01-27 Thread Avishai
Has anyone used Scraped Resource https://github.com/hasclass/ scraped_resource and know how to set up a scrape with it? Any help would be appreciated :-) -- 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

[Rails] LAMP Developers

2009-08-19 Thread Avishai
, MySQL, etc. You know the drill. If you or someone you know might be interested, please let me know and I'll provide more details. Cheers, Avishai --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] Ridiculously Slow View Rendering

2009-04-06 Thread Avishai
-summary%= truncate_words(user.about_me || , 80) -%/p % end % The template code is here too: http://gist.github.com/90786 Any ideas? Thanks! Avishai --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] Re: Ridiculously Slow View Rendering

2009-04-06 Thread Avishai
in the DB. Could it still be a bandwidth still be an issue DB = webserver if they're on the same box? Controller code is at the end here: http://gist.github.com/90786 Cheers, Avishai On Apr 6, 12:50 pm, Harold harold.gime...@gmail.com wrote: I can't find anything fundamentally wrong on your views

[Rails] Re: Ridiculously Slow View Rendering

2009-04-06 Thread Avishai
a bunch of times, all those partials drop to only a few ms each. Including the ones that show as 40, 120, etc above. Those long ones all had text in the about_me -Avishai On Apr 6, 1:37 pm, Avishai avishai.we...@gmail.com wrote: Interesting. Maybe something is going on in the controller. I've

[Rails] Re: Ridiculously Slow View Rendering

2009-04-06 Thread Avishai
I tried a bunch of different searches, and it's actually loading reasonably quickly still... 500ms at least. Also, in the process I upgraded from Rails 2.2.1 to 2.3.2, so maybe that helped somewhat too. -Avishai On Apr 6, 2:13 pm, Harold A. Giménez Ch. harold.gime...@gmail.com wrote

[Rails] Re: Ridiculously Slow View Rendering

2009-04-06 Thread Avishai
field... Any other ideas as to why this could be taking so long to render? Thanks a lot Avishai On Apr 6, 2:55 pm, Avishai avishai.we...@gmail.com wrote: I tried a bunch of different searches, and it's actually loading reasonably quickly still... 500ms at least. Also, in the process I upgraded