search for: sobrinho

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

2012 May 25
2
Typecast values on change_column for postgresql
Hello, Currently if you have a string column that have only number values (think a year column using string by mistake) and you want to change to integer, you can''t. If you apply this monkey-patch will be possible: https://gist.github.com/1393441 Note: if some value can''t be casted by postgresql (if have a letter for example), the migration will fail as expected. I think
2013 Jan 20
20
ActiveRecord::Persistence.increment! requires a row lock to ensure isolated updates
The method is here: https://github.com/rails/rails/blob/master/activerecord/lib/active_record/persistence.rb#L288. The method takes the in-memory attribute value and increments it by the specified amount. A safer approach (from an isolation standpoint) would be to let the database determine the value. Instead of telling the database what value to persist in the database, the SQL can written
2013 May 23
2
Backup Samba4
Dear, Can anyone help me? I'm having trouble backing up the Samba4. When I run the command /usr/sbin/samba_backup, it brings the following error: Error while archiving /usr/local/backups/samba4_private.210513.tar.bz2 Thanks, Rodrigo
2011 Mar 24
1
Workaround for CVE-2010-3933
Hi, First look this vulnerability issue: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3933 My application models: http://pastie.org/1709174 On my departments form, when user selects a health unit, I copy all health unit attributes including address and street. The parameters hash looks like this: http://pastie.org/1709217 But this was considered a vunerability issue, the
2012 Jun 06
1
Default value for case sensitive on uniqueness validator
...e and we are setting case sensitive to false on **all** uniqueness validations. Note: mysql do not differ case by default, so, it work as insensitive in all situations. Rails will change the major version on 4.0 release and could be a great time to do that if core team agree :) Cheers, Gabriel Sobrinho -- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options...
2003 Feb 11
0
NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE
...ckend tdbsam has a valid init Trying to load: unixsam Attempting to find an passdb backend to match unixsam (unixsam) Found pdb backend unixsam (at pos 6) pdb backend unixsam has a valid init rui$:1003:Machines cajo$:1009:Machines cajo:1010:Carlos Rodrigues epilog$:1005:Machines duckman:1000:Carlos Sobrinho rui:1002:Rui Rios epilogwin$:1006:Machines pdb_getsampwent: database entry not found. ## I added those 2 XP's to my domain and all went well Added to domain CASA in XP ## I added option netbios-name-servers 192.168.0.1 in my /etc/dhcp3/dhcpd.conf ## I added my machine to the domain using [ro...
2013 Nov 28
74
Remove :js responder
https://github.com/rails/rails/issues/12374#issuecomment-29446761 Here in discussion I proposed to deprecate JS responder because this technique is insecure and not pragmatic way to transfer data. It can be exploited in this way http://homakov.blogspot.com/2013/05/do-not-use-rjs-like-techniques.html i find this bug very often so i know what i''m talking about. With it attacker can