similar to: How to know in the layout what view was rendered?

Displaying 20 results from an estimated 6000 matches similar to: "How to know in the layout what view was rendered?"

2006 Jul 11
4
validates_unlike plugin
Validates Unlike Plugin (v 0.1) ======================== Validates Unlike plugin validates that the value of the specified attribute doesn''t match against the regular expression provided Class Contact < ActiveRecord::Base validates_unlike :comment, :with =>/html|http|onclick|onmouseover/ , :message => "comment can''t include: href,http,onclick,onmouseover."
2007 Jun 16
2
Specs don''t find modules when using the secure_actions or ssl_requirement plugin
Hello, I''m trying the secure_actions plugin (or ssl_requirements) I''m installed the plugin, and added the include in application controller: class ApplicationController < ActionController::Base include ExceptionNotifiable include AuthenticatedSystem include SecureActions ... but when I try to run the specs I got this error:
2006 Jul 07
2
Problem with GetText 1.6.0 - undefined method ''N_''
I''m just upgraded GetText from 1.4.0 to 1.6.0, and all my tests got broken. I got this error: ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/base.rb:1129:in `method_missing'': undefined method `N_'' for User:Class (NoMethodError) etc My model user.rb has this line: validates_format_of :login, :with => /^[a-zA-Z0-9_]+$/, :message =>
2006 Apr 11
1
FeedValidator :: validating feeds RSS or ATOM
FeedValidator is an interface to the W3C Feed Validation online service, based on its SOAP 1.2 support. It helps to find errors in RSS or ATOM feeds. FeedValidator add a new assertion (assert_valid_feed) which you can use in Rails applications. This assertion implements a cache to improve the performance of the tests and to not abuse of the W3C Feed Validation online service. = Download The
2007 Aug 31
2
How to spec routes for a resource nested in multiples resources?
Hi, I got the resource "Llamadas" nested in: - Operadores - Productos - Centros Here is part of my routes http://pastie.caboo.se/92767 I want to spec that the routes for Llamadas, I tried several approachs: - route_for(:controller => "llamadas", :action => "exitosas", :operador_id => 1).should == "/operador/1/llamadas;exitosas" -
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success. I can execute: ''rake remote_exec ACTION=setup'' but when I try to execute : ''rake deploy'' I got this error: loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0 /lib/switchtower/recipes/standard.rb loading configuration ./config/deploy.rb executing task deploy transaction: start
2006 Feb 06
1
How to pass an additional parameter from the url to a xmlrpc service?
guys, I have a RoR App with a xmlrpc service, which attende a several clients recently I need to change the xmlrpc service in order to provide an additional parameter from the clients, but I don?t want to force a change in the clients''s xmlrpc code, so is possible to pass this additional parameter in the url? every client append his own new parameter to the url to access the xmlrpc
2006 Jan 28
1
Switchtower different svn repo urls from my local box and my shared hosting
I got problems running switchtower 0.10.0 when I try to run "rake deploy" from my local box (windows) to my shared hosting If I set the repository to (deploy.rb): set :repository, "file:///home/[my_user]/repo/[my_app]/trunk" My local box (windows) can''t reach the subversion repository located in site5 If I set the repository to: set :repository,
2007 Sep 27
3
There is a easy way to valid markup?
Do I have to create a custom Expectation Matcher? or there is a way to integrate assert_valid_asset plugin? thx -- Edgar Gonz?lez Gonz?lez --
2006 Oct 19
2
How to deal with accentuated chars in 0.10.8?
I''m startin to use Ferret and acts_as_ferret. I need to use something like EuropeanAnalyzer (http://olivier.liquid-concept.com/fr/pages/2006_acts_as_ferret_accentuated_chars). By example, if the user search by "gonzalez" you can find documents taht contents the term "gonz?lez" (gonz&aacute;lez) The EuropeanAnalyzer is based on Ferret::Analysis::TokenFilter,
2006 Mar 13
5
Ruby on Rails Applications - To get RSS Feeds
Hi, all I am new to Ruby and also Ruby on Rails. I would like to know how we can get the RSS Feeds and display them in a Ruby on Rails applications. Thanks in Advance, sumi -- Posted via http://www.ruby-forum.com/.
2008 Jun 27
3
Keeping \Seen flag private
Hi all, I wanna to set up shared folders for a couple of users and I'd like that everyone could keep the \Seen flag as private. So if user #1 reads some messages and user #2 not, those messages appear as "unseen" to #2 and "seen" to #1. I've implemented shared folders using namespaces with every user having their own "control" and "private"
2008 May 26
5
Skype Howto
Hello all! Does anyone have a good howto to setup Asterisk and Skype. Thanks Gustavo A. Gonz?lez Dto. de Infraestructura Despegar.com, Inc. ggonzalez at despegar.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080526/831b3824/attachment.htm
2013 May 30
1
Samba 4 and Profile directory issues.
Hi, On 5/30/2013 8:17 AM, Ricky Nance wrote: > Are you logged in as DOMAIN\Administrator to the windows machine? My own dumb mistakes, I created a remote desktop connection to that server and hadn't noticed I as logged in as a non admin user. Now home directories are created as it should and profile directories are too, but with the .V2 extension. I stheis the expected behavior?, I
2008 Jul 21
3
ACL in sub-folders (take two)
Hi all, I've read this not on the v1.1.2 release candidate announce: > If you haven't received an answer to your question, resend it. So, I've sent this message some days ago and I've got no answer (that's fine, no problem). So, I'm posting my question again: I've set up some shared folders and I'm controlling the access to them with the ACL plugin. As far
2009 Jun 04
3
Question about core CDR system for multilpe servers
Hi all! I?m not sure if it is the correct place but, I?ve five boxes running asterisk and each one with his own cdr mysql database. What Im looking for is to get a core CDR system that holds information stored on each asterisk server. Have you any suggestion/process to accomplish that?. Thanks!!! Gustavo A. Gonz?lez
2007 Sep 13
2
TDM400P
Hi all! I have an issue with TDM400P FXO card. When a call enter into my IVR and select the proper option, the person that ansswer the call say your "thanks for contact us ..." but the caller cant hear this words because a delay between asterisk and caller part or between asterisk and the ATA device. What is the item on zapata.conf that can affect this delays. Thanks for any help
2008 Jul 09
1
Private flags and shared keywords
Hi all, With some help of this list, I've managed to set up some mailboxes keeping \Seen flags as private. Thanks Timo for updating the documentation about that. But now, I've got another question: is it possible to keep those flags as private and have shared keywords ("Junk", "NotJunk", etc.)? I suppose that flags and keywords are stored in the index file, so I
2009 Apr 17
1
Color of points in a 3d plot of a PCA
Dear all, I'm trying to perform a principal components analysis of a sample of individuals, and to plot it in 3D, assigning different colors according to the population each individual belongs to. Given that the matrix I have to use for the PCA cannot contain cualitative variables (here, the population of origin), I have no idea how can I do this in R. ANy help? Thanks in advance
2009 Apr 23
2
CDR issue
Hello! I?ve an issue whit CDR using asterisk 1.4.23.1. I?ve configured mysql to store cdr information, but, while I put into cdr_mysql.conf the field ?userfield=1? and doing a query I found that this field is empty in the cdr table. On the other hand I can?t find records in the cdr table that show me calls generated through AMI using Originate Action, that?s calls are not stored in the CDR, but I