Displaying 20 results from an estimated 2000 matches similar to: "Strange error additions in generated HTML"
2005 Aug 04
1
Pagination and :include (eager associations)
I have tried to use eager association with pagination, but
the :include option is not supported:
Here''s the one-line pagination call without :include
@link_pages, @links = paginate :link, :per_page => 10, :order_by
=> sort_clause
and here the work around, using the "classic" method
# @link_pages = Paginator.new self, Link.count, 10,
2005 Oct 15
14
OT: Anyone Using a Time Logger?
I have multiple projects and it''s important for me to track time by client
and by project. There''s a Windows application that allows me to do this, but
I''m looking for a cross-platform solution.
I looked at ConsultComm but it wouldn''t install on my Mac. Rather than
rewriting what seems like a commonly-required app, I wondered if anyone else
had something they
2016 Apr 05
0
[PATCH 2/7] v2v: extract controller offset discovery as a function
This function is needed for other drivers, move the code in order to
help sharing it later.
---
v2v/windows_virtio.ml | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml
index b0d9d08..14ffc51 100644
--- a/v2v/windows_virtio.ml
+++ b/v2v/windows_virtio.ml
@@ -226,18 +226,7 @@ and
2006 Sep 13
2
stale spec runner?
I''ve been working with the RSpec on Rails plugin. Great job guys!
The Rails spec runner (server) definitely speeds things up nicely.
But I''m having some trouble keeping it functional. When I start the
server, the first spec execution runs fine. Every following
execution fails though. Each spec complains about the
''controller_path'' missing from my
2006 Jan 04
0
Simple print statement (was: recongizing the current controller in views)
All (and kevin),
After flying high for a while on Rails things, I''m down to the nitty gritty of
Ruby stuff. Messing with vars and printing them out on a web page.
I found the controller_path in the API docs;
However when putting this in a controller:
@test1 = controller_class_name
@test2 = controller_name
@test3 = controller_path
And this in a partial:
Test1 <%= @test1
2007 Oct 02
0
Rails 2.0 & rspec edge - not protected_against_forgery?
The new forgery protection is throwing of rspec:
NoMethodError in ''ApplicationHelper login-logout when logged in
should show the name of the current user''
undefined method `protect_against_forgery?'' for #<#<Class:0x3219118>:
0x34e1f94>
/Users/jcf/dev/work/sim/vendor/plugins/rspec_on_rails/lib/spec/rails/
dsl/behaviour/rails_example.rb:41:in
2007 Feb 24
0
Swiss Ruby User Group Meeting on 1.3.2007
The SwissRUG is meeting again on 1.3.2007, 19:30 at Ergon Informatik
AG in Zürich. See the website[1] for details and a plan on how to get
there.
We''ll have some presentations (a project and "refactoring ruby with
RDT"), some pimp-my-code roundtable discussions and pizza.
Anyone in the greater area is invited. Please email to "jcf(at)
invisible(dot)ch" if you
2016 Apr 05
0
[PATCH 4/7] v2v: extract reusable parts of viostor regedits
There are registry entries that are needed to add some other drivers.
Extracting them into a function will help adding SUSE VMDP support.
---
v2v/windows_virtio.ml | 311 ++++++++++++++++++++++++++++----------------------
1 file changed, 176 insertions(+), 135 deletions(-)
diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml
index 14ffc51..8a0b529 100644
--- a/v2v/windows_virtio.ml
+++
2006 Jan 29
1
Rendering partials with ActionMailer
Can ActionMailer render partials (like .sigs, for example)? When I try
to render :partial, I get an error:
undefined method `controller_path'' for SomeNotify:Class
I also tried putting the partial within /shared, but it likes that even
less -- it can''t seem to find the template.
Jake
--
Posted via http://www.ruby-forum.com/.
2006 Jan 14
1
controller_path says undefined local ....
undefined local variable or method `controller_path''
Do I need to install anything explicit?
For the nosies, I''m looking for (building) a breadcrumb routine (as page
independant/DRY-less as possible). Like "mods > crm > customer > add contact"
Regards,
Gerard
--
"Who cares if it doesn''t do anything? It was made with our new
2006 Nov 27
2
ActionMailer & application_helper.rb
Hi,
I''m trying to send some emails with the same formatting as my pages & I
can''t seem to access my display routines in application_helper.rb. I''m
trying a hack to bypass this.
At the top of my ActionMailer notifier script I''ve included
application_helper.rb - my understanding is that this should arrive as a
module and should be able to be used
2005 Jul 22
3
testing application_helper.rb
I am trying to run some functional (or are they unit?) tests on my
application_helper.rb. So far, I''ve not had any success in being able
to call the methods defined in application_helper.rb.
Here is my app/test/functional/helpers.rb
require File.dirname(__FILE__) + ''/../test_helper''
require File.dirname(__FILE__) +
2010 Jul 28
0
Bug#590677: [logcheck-database] additional rules for nagios/radius
Package: logcheck-database
Severity: wishlist
Tags: patch
Hi,
check_radius output filter:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ check_radius: rc_avpair_gen:
received VSA attribute with unknown Vendor-Id [[:digit:]]+$
Hendrik
--
Hendrik Jaeger
Linux Systemadministrator
Init Seven AG
Elias-Canetti-Strasse 7
CH-8050 Z?rich
phone: +41 44 315 44 00
fax: +41 44 315 44 01
http://www.init7.net/
2004 May 24
1
discriminant analysis
Hi,
I have done different discriminant function analysis of multivariat data. With the CV=True option I was not able to perform the predict() call. What do I have to do? Or is there no possibility at all? You also need the predicted values to produce a plot of the analysis, as far as I know.
Here my code:
pcor.lda2<-lda(pcor~habarea+hcom+isol+flowcov+herbh+inclin+windprot+shrubcov+baregr,
2008 Mar 18
1
odbcQuery , memory.size
Dear R cracks
I am trying to fetch 38 Tables from 38 ESRI Geodatabases through an ODBC
connection.
I stored the 38 channels in a list and the 38 tablenames in an other list.
With a
for(i in 1:38) .... sqlFetch(....) I try to read the tables into a third
list. But always after a certain amount of rounds (mostly 16) i get
Fehler in odbcQuery(channel, query, rows_at_time) :
Calloc konnte
2006 Mar 22
3
Rendering partials in ActionMailer?
Hello,
Is anyone out there rendering partials successfully in ActionMailer
templates?
I am having trouble with this, and wasn''t sure if it was my
configuration or something with a version of Rails I''m running.
We''ve got over 15 mailer templates, all working like a charm.
But we have a piece of shared code, that we''d really like to not have to
copy &
2007 Jan 11
0
Including partials in ActionMailer template files?
I have class called:
class Notifier < ActionMailer::Base
Then in my view for that class I have an rhtml file that holds the html
for the email. I am trying to do
<%= render :partial => "header" %>
and I''m getting:
ActionView::TemplateError (undefined method `controller_path'' for
Notifier:Class) on line #1 of
2006 Mar 04
2
application_helper can "include" another helper ?
My "application_helper.rb" become to large.
I have basic functions that I use for all projects.
Is it possible to define thoses functions inside an external
"basic_helper.rb" and include it in "application_helper.rb" ?
2007 Apr 05
1
Running MCMCpack
Hi there,
I am running MCMCpack (MCMCirt1d model) on some files (26 items x about 800
– 1200 individuals).
I have a problem. When I am working on “big” files, the R program crashes.
More precisely I got the following Microsoft Warning:
*******************************************
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Program Files\R\R-2.4.1\bin\Rgui.exe
2009 Jul 02
1
[PATCH server] UI for accumulated uptime for VMs. (revised)
This revised version of the patch incorporates jguidditta's sorting fix as well as some other changes required to make this work fully on the cloud UI side.
---
src/app/controllers/pool_controller.rb | 2 +-
src/app/controllers/resources_controller.rb | 4 +++-
src/app/controllers/smart_pools_controller.rb | 5 ++---
src/app/helpers/application_helper.rb | 14