[Rails-core] Re: Executing Multiple SQL Statements for MySQL Adapter

2009-02-19 Thread Jonathan Weiss
anyway when receiving > data from the client), you'd avoid this, no? Paranoid configurations are exactly the thing you want from a security standpoint. Defense in depth is very important. Is it not that the DB admin does not trust his devs but that they are not perfect and make

[Rails-core] Re: Executing Multiple SQL Statements for MySQL Adapter

2009-02-18 Thread Jonathan Weiss
one of the few cases where MySQL actually behaves more secure than PostgreSQL&co. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &q

[Rails-core] Re: Patch review request: add index length support (#1852)

2009-02-02 Thread Jonathan Weiss
ects/8994/tickets/734-add-support-for-index-length-in-mysql-adapter-and-schema-dumper#ticket-734-2 Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[Rails-core] Re: listing of Rails contributors

2008-10-30 Thread Jonathan Weiss
jweiss => Jonathan Weiss -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group,

[Rails-core] Re: Before 2.2 RC1 is pushed

2008-10-07 Thread Jonathan Weiss
ex length in MySQL adapter and schema dumper: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/734 -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[Rails-core] Re: ActiveRecord::AttributeMethods #respond_to?

2008-09-04 Thread Jonathan Weiss
version raise 'private' end end class VersionedProduct < Product def version attributes[:version] end end You could do the same for the setter or even write your attr_private method that will generate the getters/setters. But again, I see no point in doing so. Jo

[Rails-core] Re: ActiveRecord::AttributeMethods #respond_to?

2008-09-02 Thread Jonathan Weiss
> raise a NoMethodError." Hu? Foo.new *has* a bar method. It just doesn't allow you to set it in mass-assignment. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ You received this message because you

[Rails-core] Security Problem in ActiveRecord

2008-05-28 Thread Jonathan Weiss
Cheers, There is a major security problem in ActiveRecord. I'm the process of writing the tests and the fix. This should definitely go into 2.1 and be backported to 2.0. I'm not sure I should post the exact problem here. Could somebody from the core team contact me? Jonathan --

[Rails-core] Re: Sanitizers: How to enforce valid markup?

2008-05-10 Thread Jonathan Weiss
d markup. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonr

[Rails-core] ActiveSupport::Cache :mem_cache_store options

2008-04-16 Thread Jonathan Weiss
, "localhost" ActiveSupport::Cache.lookup_store :mem_cache_store, "localhost", '192.168.1.1', :namespace => 'foo' or config.action_controller.fragment_cache_store = :mem_cache_store, 'localhost', {:debug => true, :namespace =>'foo'

[Rails-core] Re: tztime plugin resaving bug w/ fix

2007-11-26 Thread Jonathan Weiss
Tim Lucas schrieb: > Not sure what Jamis is up to, but just in case this fell off the radar: > http://dev.rubyonrails.org/ticket/10058 I already gave it a '+1', anybody else care to review? Jonathan -- Jonathan Weiss http://b

[Rails-core] Re: #8049: Improve PostgreSQL adapter compatibility, feature set, and performance

2007-08-13 Thread Jonathan Weiss
Tarmo Tänav wrote: > > Could you add the +1 to trac? (and a verified keyword with it) > done Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Rails-core] Re: #8049: Improve PostgreSQL adapter compatibility, feature set, and performance

2007-08-13 Thread Jonathan Weiss
on hasn't been used in >> some time, and I don't feel particularly qualified to pass judgement >> on this patch > > *bump* > > tarmo's given it a +1 over at the Trac site. Any other takers? > Let me know if anything needs any further adjustment too and I'

[Rails-core] Re: Localization of Rails core

2007-05-23 Thread Jonathan Weiss
ons for no new functionality doesn't seem like a good trade :) It would make the life of all non-english developers a lot easier as swapping the hard coded strings becomes very easy and does not include copy&pasting functionality or fiddling rails' internals. In case of the ave

[Rails-core] Re: Please review #8049 (PostgreSQL support)

2007-05-14 Thread Jonathan Weiss
> It has been open for 2 > months but no sign of being reviewed or accepted. > Yeah, can somebody please commit this. Without it using PostgreSQL 8.2 is really painfull. Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ You

[Rails-core] Re: Replay attacks with cookie session

2007-03-27 Thread Jonathan Weiss
> I believe that CookieStore should be either (1) secure against replay > attacks by default, or (2) not the default session store. Anything > else is asking too much of non-security-aware developers. + 1 Jonathan -- Jonathan Weiss http://blog.inn

[Rails-core] Merge r5718 to 1.2 ?

2007-01-11 Thread Jonathan Weiss
HTML attributes. Without this changeset single quotes are escaped while traversing the DOM tree with HTML::Node but the escaping is left there so that a second traversal incorrectly closes the quotes on the single quotes inside the attributes. Regards, Jonathan Weiss -- Jonathan Weiss http