search for: v8hq

Displaying 7 results from an estimated 7 matches for "v8hq".

Did you mean: v8aq
2013 Apr 12
4
rails named scopes and sql injection
HI guys, I just came through an example on code of the place I work for that said something like this could be vulnerable to sql injection attacks: scope :with_name, lambda { |name| where("LOWER(name) LIKE ?", name.downcase) } I wonder if this is true. My thought is that rails should escape this and that anything that tried to do something different would fail on the translation
2013 Jul 04
3
Rspec devise, testing extended RegistrationController action destroy
Hi everyone, I have devise 1.5.4 working with rails 3.0.20 and ruby 1.8.7 . I have extended the destroy action from the RegistrationController, to soft delete users instead of really deleting them from the database. def destroy # raise resouce.inspect # this is just to see if the test hits the action resource.soft_delete set_flash_message :notice, :destroyed sign_out resource
2007 Mar 14
0
SV: Re: each() and parameters and unobtrusive javascript
You could also try to go with the button element since it can wrap content like images. Something like: <button name="delete"><img src="..."></button> along with some styling to your liking. -Tobias -----Oprindelig meddelelse----- Fra: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-spinoffs@googlegroups.com] På vegne af
2007 Mar 14
0
SV: Re: script.aculo.us question
Another option would be to use conditional comments, which is only supported in IE. Either in the javascript: /*@cc_on @*/ /*@if (@_win32) Event.observe(window, ''load'', ...(replace img)...); /*@end @*/ Or in the HTML for including the script (this support checking versions): <!-[if lt IE 7]>...include script...<![endif]-->
2007 Apr 04
0
SV: toggle.appear focus on div problem / question
Is this what you want: http://prototypejs.org/api/element/scrollto -Tobias -----Oprindelig meddelelse----- Fra: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-spinoffs@googlegroups.com] På vegne af natquick Sendt: 4. april 2007 12:53 Til: Ruby on Rails: Spinoffs Emne: [Rails-spinoffs] toggle.appear focus on div problem / question Hi there, Can anyone help me,
2005 Nov 19
3
file uploads with lighttpd-1.4.7 broken??
Hi guys, Im doing fileuploads and it works great with webrick...I just installed lighttpd 1.4.7 and ran ruby script/server suecessfully picking up my lighty and fcgi install... however...when I try to upload a file the proces either stalls (no evidence of the hit in any logs) or returns 503.... any suggestions?? thanks in advance... Mikkel -- Posted via http://www.ruby-forum.com/.
2014 May 08
0
Rails log for rspec tests inside of an engine
Would anybody know how to do this: http://stackoverflow.com/questions/20001361/rails-log-for-rspec-tests-inside-of-an-engine ?? thanks for the help -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to