Displaying 6 results from an estimated 6 matches for "new_params".
Did you mean:
net_params
2006 Sep 22
1
url_for params
Hi,
url_for has a nice way of using the current ''params'' object to fill in default
parameters in a route. For example,
map.connect '':controller/:action/:id/''
with <%= url_for :action => ''my_action'' %> will redirect to the current
controller. All very good.
However, I sometimes want a url_for() which includes current parameters
2009 Jun 22
3
puppetshow
...t_header.rhtml where line #3 raised:
undefined method `[]'' for #<Enumerable::Enumerator:0xb716d700>
Extracted source (around line #3):
1: <% if active_scaffold_config.action_links.any? { |link| link.type
== :table } -%>
2: <div class="actions">
3: <% new_params = params_for(:action => ''table'') %>
4: <% active_scaffold_config.action_links.each :table do |link| -
%>
5: <% next if controller.respond_to? link.security_method and !
controller.send(link.security_method) -%>
6: <%= render_action_link(link, n...
2009 May 20
1
[PATCH server] split StorageVolumeService.svc_new into two methods.
...:MODIFY, at source_volume.storage_pool.hardware_pool)
- if source_volume_id
- @storage_pool = @source_volume.lvm_storage_pool
- unless @storage_pool
- # FIXME: what should we do about VG/LV names?
- # for now auto-create VG name as ovirt_vg_#{@source_volume.id}
- new_params = { :vg_name => "ovirt_vg_#{@source_volume.id}",
- :hardware_pool_id => @source_volume.storage_pool.hardware_pool_id}
- @storage_pool = StoragePool.factory(StoragePool::LVM, new_params)
- @storage_pool.source_volumes << @source_volume
- @storage_p...
2009 May 19
1
re-sending outstanding controller refactoring patches after rebase
I've rebased the patch series to the current next branch and am sending them again.
2006 Nov 20
5
RMagick load problems?
...ould take 60 seconds.Loaded suite
/usr/local/bin/mongrel_rails
Started
Finished in 0.000216 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
On the Gentoo server, I get an application error immediately when I try
to go to the page that loads RMagick. In the controller I have:
def new
@new_params = { :type_of_chart => "dprs" }
@daily_progress_chart = DailyProgressChart.new(@new_params)
end
daily_progress_chart.rb begins:
require ''rvg/rvg''
require ''RMagick''
include Magick
class DailyProgressChart < ActiveRecord::Base
The chart is...
2001 Sep 30
3
UTF-8 stuff
Here's a propsed heavy-duty solution for your UTF-8 problems.
I'm including a patch in this message, but I'll put the new files on
my web site at http://rano.org/tmp/xiph_files.tar.gz
I've tested this by running vorbiscomment with and without
-DHAVE_ICONV=1 in vorbis-tools/share/Makefile. It seems to work.
Changed files:
acinclude.m4: Add a test for nl_langinfo(CODESET). This