Displaying 20 results from an estimated 1800 matches similar to: "call model method out of the controller => undefined method"
2007 Aug 21
1
handling of dynamic filecontent creation
Hi list!
In the light of my personal "Simon is dumping his problems on
others"-week I have a question regarding.. dunno.. generally "handling
of dynamic filecontent creation" I think is the best to describe it:
We use a lot of in-house built services (for arguments sake webservers)
which are instantiable and bring their own "framework" for setup, so I
created
2007 Oct 18
4
Polymorphic Association?
Hi there-
I''m a newbie to this board, RoR, and web development in general. So
please forgive me if this is in the wrong place or if the solution is
really simple...
I''m trying to conceptualize the relationships between a series of
models for a page creation function. What I''d like is to have a
Content Page which consists of a series of Content Blocks. The
Content
2003 May 23
0
LDAP tools for SAMBA 3.24 corrected
Sorry this is the complete patch
--
----------------------------------
ALEJANDRO SOLER
e-mail: asoler@martinaditrento.com
Administrador de Sistemas
Martina di Trento S.A.
Buenos Aires - Argentina
Tel.:(5411) 4611-2730
WEB: http://www.martinaditrento.com
-----------------------------------
-------------- next part --------------
--- samba/smbldap-tools/smbldap_tools.pm 2002-06-01
2013 Feb 20
2
exten => h,n,AGI(generateCall.php,${NEXT})
not able to run my php from AGIi am using asterisk 1.8.13 (debian)i am able to make call file using php command line..but when executing php from AGI, it is not working..kindly see the attachment if bellow text is not readable...___________________________________________________ File: /etc/asterisk/extensions.conf[call]exten => call,1,Answerexten => call,n,Playback(hello-world)exten =>
2003 May 23
0
LDAP tools for samba 3.24 schema
For scrips smbLDAP from idealx apply this patch to smbldap_tools.pm, to
use with samba 3.24 schema.
Regards
--- samba/smbldap-tools/smbldap_tools.pm 2002-06-01 06:30:48.000000000
+0200
+++ smbldap_tools.pm 2003-05-23 13:43:53.000000000 +0200
@@ -31,6 +31,16 @@
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
use Exporter;
$VERSION = 1.00;
+
+
+# Put your own SID, this section
2011 Jun 29
0
XML parsing
Hi,
i want to parse a XML-File.
I made some Tutorial but with my special Format it don't work.
An Example of my format:
<?xml version="1.0" encoding="ISO-8859-1"?>
<mzML xmlns="http://psi.hupo.org/ms/mzml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://psi.hupo.org/ms/mzml
2007 Dec 02
5
walkthrough: Rails 2.0 startup process
I haven’t found a complete big-picture walkthrough for the Rails
startup process when I looked for one recently.
There are some really useful resources about this but they are for
Rails 1.2 and each of them only covers certain parts of the process.
Thus, I’ve taken some notes while reading to the Rails code and
compiled the following guide from them.
2007 Dec 03
3
Please solve my query
hi
my question is
Start a POP3 server on rhel5 with a matching criteria
1) user jack must get mail
2 Allow your network lw.com
3)my133.org domain can not access your server
Thanks And Regards
Bhagwat Swarup
NH India Ltd
2007 Aug 22
6
Re: [puppet] #779: access to inherited variables from within a template
puppet schrieb:
> #779: access to inherited variables from within a template
> -----------------------------------------+----------------------------------
> Reporter: simu | Owner: luke
> Type: enhancement | Status: new
> Priority: normal | Milestone:
>
2007 Nov 15
0
9 commits - data/Makefile.am player/swfdec-player.ui player/swfdec-window.c po/fr.po po/POTFILES.in po/POTFILES.skip thumbnailer/Makefile.am
data/Makefile.am | 8 ++---
player/swfdec-player.ui | 22 +++++++-------
player/swfdec-window.c | 2 -
po/POTFILES.in | 1
po/POTFILES.skip | 1
po/fr.po | 72 ++++++++++++++++++++++++++++++++----------------
thumbnailer/Makefile.am | 20 +++++--------
7 files changed, 74 insertions(+), 52 deletions(-)
New commits:
commit
2011 Jul 06
0
undefined method `assigns' and undefined method `post'
Hi,
I have an error of undefined method.
can anyone help me to solve it.
I follow the tutorial to practicing testing controller of rails, and
now i got stuck with the error.. plz help
error:
undefined method `post'' for
#<Spec::Example::ExampleGroup::Subclass_1:0xb7754114>
undefined method `assigns'' for
#<Spec::Example::ExampleGroup::Subclass_1:0xb785d1b4>
Test file
2006 Aug 16
4
Undefined method - what undefined method
I am doing a typical database list, but when I do
<% for m in @private_messages %> (Line 28) It tells me that the method
''each'' is undefined. What''s wrong, I did not call the method each....
Here''s the error:
Showing app/views/account/mail.rhtml where line #28 raised:
undefined method `each? for #<PrivateMessage:0x408bb830>
Extracted source
2006 Sep 05
0
Undefined class/module error: solved?
The Problem
-----------
We have been getting a "undefined class/module" error on 2 of our 6 app
servers in one testbed.
Same sourcecode, same installs (systemimager and an isconf style
configuration management harness), same binaries.
Identical everything. Pound + mongrel + memcached + postgres (pgcluster).
The odd bit here is that our "dev" and "prod" pairs had
2007 Nov 21
0
Upgrade to latest trunk if you''re getting "undefined method `degree=''"
Facebook added the ''degree'' field to education info. This breaks
user.populate because the ''degree'' field doesn''t exist in the
education history model.
On a side note, if a method calls a dangerous method (ending with !),
shouldn''t it be classified as dangerous too?
Shane
--
http://myfitbuddy.com | http://shanesbrain.net |
2007 Apr 17
1
undefined method `each'' for nil:NilClass with Ferret search
Hi All:
For certain key terms I always get this error; I had to rebuild the
indexes then it works for a while then again it is gone.
here is the message
ActionView::TemplateError (undefined method `each'' for nil:NilClass) on
line #4
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in
`compile_and_render_template''
2006 Aug 06
2
assert_difference gives undefined method error in unit tests
Hi there
Am hitting undefined method errors for ''assert_difference'' in my unit
tests under Rails 1.1.4
What could I be missing?
Richard Sandilands
2006 Aug 14
0
acts_as_bookmarkable - undefined method `add_bookmark''
Hi,
I''m jsut attempting to sue the acts_as_bookmarkable for the first time.
when I run the following 3 lines, I get an error undefined method
`add_bookmark''
@blog = Blog.find(params[:id])
bmark = Bookmark.new(:title => @blog.title, :user_id =>
session[:user].id)
@blog.add_bookmark bmark
>From what I can tell there is no method in the plugin
2006 Aug 14
0
undefined method ''render_component_as_string'' - why?
I want to put a ''search_box'' text_field in the header of each page.
The search_box is implemented in a controller named ''users''.
(so Controller_A is calling a component in Controller_B)
When I add this line to my ''controllers/application.rb'' file, I don''t
understand why I get and ''undefined method'' error. After all,
2006 Jul 04
0
undefined method `category_url''
Hi,
Is category_url or person_url available in Rails 1.1.4? I can''t find
it in the docs.
Thanks,
Peter
2006 Jul 19
3
undefined method `use_ssl='' for #<Net::HTTP
hi all,
#----------------------
client = XMLRPC::Client.new("localhost", path, 443, nil, nil, nil, nil,
true, 30)
#----------------------
when i run it, throw a exception:
undefined method `use_ssl='' for #<Net::HTTP localhost:443 open=false>
my box is centOS, but it''s works on another box,
seems related ruby environment,
any one can give me a hint.
all