Displaying 20 results from an estimated 1000 matches similar to: "There is a easy way to valid markup?"
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
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 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
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 Aug 17
1
How to know in the layout what view was rendered?
Hi,
Is a way to know in the layout what view was rendered?
--
Edgar Gonz?lez Gonz?lez
E-mail: edgargonzalez@gmail.com
--
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,
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á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/.
2006 Feb 01
4
REXML::ParseException - but the feed IS valid
I am using Ruby feedparser and when I try to parse this feed:
http://feeds.feedburner.com/Mobilecrunch
I get an error:
REXML::ParseException: Declarations can only occur in the doctype
declaration.
This feed does validate at feedvalidator.org. Any idea why it would raise
an exception?
Thanks,
eduard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 24
6
Mocking causes empty specification blocks
I''ve found myself mocking out a published api in my set-up method.
This has led to some contexts having a large set-up and empty
specifications. As the mocks get auto-verified, the specification
blocks have nothing to do but serve as documentation. Does this sound
bad?
Chris
2006 Jun 06
2
RSS Generator - Can not subscribe from yahoo
Hi
I have created a rss generator for my web site; it is
http://www.rordirectory.com/rss
The feed displays correctly; but when I try to subscribe from my yahoo
account, after entering the feed url, I get the following message :-
"There was a problem subscribing to the following feeds. Please try
again later"
what am I doing wrong?
thanks
--
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
2009 Oct 19
2
Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/local/sbin/courier-dovecot-migrate.pl line 300.
Hello,
I need to migrate from courier-imap to dovecot. I'm trying to use
courier-dovecot-migrate.pl to migrate the users' maildirs but I'm
getting these messages:
---
# courier-dovecot-migrate.pl --to-dovecot --recursive mydomain.com
Testing conversion to Dovecot format
Finding maildirs under mydomain.com
mydomain.com/contact/./Maildir: No imap/pop3 uidlist files
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
2008 Jul 01
4
Fax Between IAX Trunks
Hello! I need to send Faxes from an Asterisk box to an Asterisk + Iaxmodem +
Hylafax installed on other box. I have setup IAX trunks between this boxes,
all works fine but can?t send faxes from one to other, Im trying with or
without NVFaxDetect application but does not work. Is there a way to get it
working?. If I connect a fax machine directly to Asterisk with Iaxmodem and
Hylafax, I have no