similar to: where is :overwrite_params ?

Displaying 20 results from an estimated 5000 matches similar to: "where is :overwrite_params ?"

2005 Sep 06
4
url_for: :overwrite_params went missing
Somewhere between 0.13.1 and the current SVN version the :overwrite_params option to url_for (and related methods) went missing. I can''t tell whether this was deliberate or by mistake, and I have no idea how to get the same functionality in some other way either. Michael -- Michael Schuerig Life is what happens
2014 Mar 20
2
io mode=native precisions
Hi, Before switching to io mode=native, I wanted to check if there are any disadvantages or potential problem with this setting. I virtio-blk data plane required to use this setting effectively? (as illustrated here: http://blog.vmsplice.net/2013/03/new-in-qemu-14-high-performance-virtio.html) Is there a requirement on the host kernel (eg minimum version)? Thanks in advance Raph
2006 Mar 31
2
[Howto] custom and translated AR validation error messages
Hi, I''m putting the finishing touches on a multi-lingual application, and just posted a blog entry on how I did translate validation errors generated by ActiveRecord at: http://www.myowndb.com/blog/?p=4 I found it surprisingly easy, and thought I''d document it. The translation is based on a plugin I plan to publish really really soon, more info whith the upcoming announcement.
2006 Nov 21
1
fix for modularized controller using overwrite_params
Hey guys, I realized some people have had problems with nested controllers and the :overwrite_params call. The way I fixed it is like this: :overwrite_params=>{:controller=>"/#{params[:controller]}"} I would love to see if other people could improve on this, its not the prettiest thing. -- Posted via http://www.ruby-forum.com/.
2014 Mar 24
0
Re: io mode=native precisions
On Thu, Mar 20, 2014 at 9:13 AM, Raphael Bauduin <rblists@gmail.com> wrote: > Hi, > > Before switching to io mode=native, I wanted to check if there are any > disadvantages or potential problem with this setting. > I virtio-blk data plane required to use this setting effectively? (as > illustrated here: >
2005 Dec 19
1
multiple databases
Hi, I''m writing a translation plugin which takes the translations from a database that is different than the application''s main database. When in my plugin''s models I put this code: ActiveRecord::Base.establish_connection( RAILS_ENV+"-translations" ) all my application''s models use the plugin''s database.... Why are my
2006 Apr 04
13
Myowndb: a web database built with rails
Hi all, I wanted to announce on this list that I have launched http://myowndb.com which is a web database built with Ruby on Rails. The application lets the administrator users define the data structure through a web interface like in a normal database, with: - tables - enhanced datatypes like emaili, web URL, and a choice in list - relations (one to many, one to one) between tables Once the
2005 Nov 19
1
link_to weirdness
Hi, I''ve got a page running at say http://example.com:3000/admin/players Then I''ve this bit of code to generate a URL like: http://example.com:3000/admin/players?order_col=fname&order_dir=desc <%=link_to col[:label], :overwrite_params => { :order_col => col[:field], :order_dir => @order_dir == ''asc'' ? ''desc'' :
2006 Jan 15
1
how to provide plugin configuration?
Hi, I''m finalising a translation plugin I use in one app. I''d like the plugin the be configurable but am not sure how to provide this configurability. For example, there''s a setting for the cookie name to use when saving user''s prefered language. I thought of having a class TranslationConfig like this: class TranslationsConfig def self.cookie_name
2006 Jan 07
1
datetime returned as string, sometimes....
Hi, I''m using postgresql 8.1, rails 1.0, and I have a strange problem on a datetime field (timestamp without time zone in postgresql). As shown below, the field "value" sometimes returns a string, and sometimes a Time instance, depending of where the value is used....: * breakpoint session _from inside an instance method_ of the object: value => "1996-05-01
2014 Mar 24
1
Re: io mode=native precisions
On 03/24/2014 03:57 AM, Raphael Bauduin wrote: > > > > On Thu, Mar 20, 2014 at 9:13 AM, Raphael Bauduin <rblists@gmail.com > <mailto:rblists@gmail.com>> wrote: > > Hi, > > Before switching to io mode=native, I wanted to check if there are any > disadvantages or potential problem with this setting. > I virtio-blk data plane required
2005 Dec 28
1
advice needed: damagecontrol or CIA?
Hi, I''m looking to set up a continuous integration server for a rails application. This application is under source control with darcs. I''ve read about damagecontrol and CIA, and wonder what experience you can share so I can make my mind. CIA seems to work with a post-commit so I should be able to use it with darcs. And as it is in the rails svn repository, I have good hope
2006 Apr 25
6
Does Rails need more useful URL helpers?
Similar topic to my last post, but a different brand of methods. In particular, the url_for and link_to methods have come to bother me at times. I will mention one instance in particular: I am designing a high-end administrative interface. This interface supports paging, sorting and limiting to specific field values. Thus I have params named page, sort and limit. The lack of elegance I see
2006 Jan 02
3
ANN: new rails site/RoR praise
Hi, >From idea to launch in less than 48 hours (those 48 hours including the new year party ;) , rails once again showed its effectiveness. Last friday I read the news about a guy who sold a million pixels for 1$ each on his homepage. After slamming my head during half an hour for not having thought of it [1], I thought I''d better spend some time on a rails project, and more as a
2005 Mar 03
0
routes and link_to
Hi, I have defined this route as the first one: map.connect '':controller_prefixx/:controller/:action'', :controller_prefixx => ''rails_right'' (for the test, I put a second x at the end to be sure I don''t collide from the :controller_prefix used in rails). In my view, I have this: <% @rights.each do |right| %> <tr>
2005 Nov 28
5
Rails on lighttpd through proxy
Hi All, We have a PHP site running on apache 1.3 and Im trying to graft typo onto it at /blog/. Ive got the running using the symlink method but apache/fastcgi are clunky to say the least so I want to move typo over to lighttpd. Ive got this all working and Im now trying to get a proxy working through from apache. Im using this: RewriteRule ^/blog/?(.*)$ http://blog.myorg.net:8080/$1 [P]
2006 Apr 16
1
plugins problems with RoR 1.1 in production
Hi, I''m looking to upgrade an application based on rails 1.0, and I have a problem with plugins working fine in development, but not in production or test. Actually, it happens in all environments with their dependency mechanism set to :load. For example for the selenium on rails plugin, it needs the class SeleniumOnRailsConfig, which triggers the dependency on
2014 Mar 26
1
host crashes "unable to handle paging request"
Hi, we have regular crashed of a kvm host with the error "unable to handle paging request". Can this be due to memory over-commitment even if some memory is still used by the kernel for caches and buffers? (collectd graph shows no free memory, with 15G used, very little buffers, and 1G cache). There are 32GB of swap, of which only 150MB are used. I suspect might be the direction to
2012 Jan 26
1
adding additional information to histogram
Hi, I am a beginner with R, and I think the answer to my question will seem obvious, but after searching and trying without success I've decided to post to the list. I am working with data loaded from a csv filewith these fields: order_id, item_value As an order can have multiple items, an order_id may be present multiple times in the CSV. I managed to compute the total value and the
2008 Apr 05
2
installing dotnet20 fails
I am trying to install dotnet20 in 0.9.58 with sh winetricks dotnet20 It hangs after extracting a file with sh winetricks dotnet20 Using system libcrypto, version 90709F DLSYM: Failed to resolve FIPS_mode_set: 127 DLSYM: Failed to resolve FIPS_mode: 127 DLSYM: Failed to resolve SHA256: 127 DLSYM: Failed to resolve SHA512: 127 DLSYM: Failed to resolve EVP_sha224: 127 DLSYM: Failed to