similar to: Plugins: Validation Reflection and Client-Side Validation

Displaying 20 results from an estimated 400 matches similar to: "Plugins: Validation Reflection and Client-Side Validation"

2006 Jul 28
4
Validation Reflection plugin
The validation reflection plugin adds three things (1) Reflective access to validations - ModelClass.reflect_on_all_validations - ModelClass.reflect_on_validations_for(:property) (2) It provides "declarative" methods for defining validations based on database metadata - validates_presence_of_mandatory_content_columns - validates_lengths_of_string_attributes -
2006 Nov 07
2
Plugin to add client side JS forms validation ?
Hi, is there a plug in or other things to easily add some client verification for HTML forms ? Thank you very much. Nicolas. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2008 Apr 01
1
using label tags in scaffold views...how to get the method name?
hi, i want to use the <label> tag in the scaffold views. for a text field where the id is id="person_last_name" how can i get the person_last_name string programmaticaly to use it as a label parameter <label for="person_last_name"> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2007 Jul 22
3
Retrieving validation messages without making errors
I would like to inform the users about attribute validation conditions for form fields using title as in <span title= "cannot be blank" >. The simplest way would be to use the validation error messages already defined in the models, but I cannot find any way to retrieve these messages, when no error has been made. The methods I have tried as errors.full_messages only returns the
2017 Jun 27
1
Wrong function when import from module using get
Hi, I found this issue: when I have 3 modules: * AnalysisA * AnalysisB * AnalysisC I load all modules at the beginning from list of modules: analyses <- list('AnalysisA', 'AnalysisB', 'AnalysisC') for (module in analyses) { library(module, character.only = TRUE) } and I want to add a function isValid to each module, but I've added it only for AnalysisB.
2003 Dec 31
3
Whoo Hoo! I got a working Windows Build of wxRuby
I finally got a working native windows build of wxRuby (using a static build of wxWindows so everything is in a single dll -- wxruby.so)! Two things contributed to my success: 1) building wxWindows with the vc++ makefiles (instead of the vc++ projects), and 2) very careful attention to compiler/linker flags specified in extconf.rb. Kevin, I had to modify app.cpp, depend, extconf.rb, and wx.h. I
2004 Nov 08
2
[LLVMdev] Dejagnu Support Added (+ problems with build LLVM at FreeBSD)
> I'm asking for people (especially those running nightly testers) to give > Dejagnu a try. I will do. But last 2 days (after http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041101/020279.html ) LLVM broken at FreeBSD: In file included from Path.cpp:27: platform/Path.cpp:26: error: no `bool llvm::sys::Path::isvalid() const' member function declared in class
2006 May 06
0
[LLVMdev] Still Trying to Build on MINGW
On Sat, 6 May 2006, Reid Spencer wrote: > Looks like Jeff Cohen already fixed this in CVS. Please update and give > it another shot. Is this fixing the issue, or just papering over it? Why are we trying to load an archive member without a path set? -Chris > On Sat, 2006-05-06 at 16:43 -0400, Greg Pettyjohn wrote: >> >> On Sat, 6 May 2006, Greg Pettyjohn wrote: >>
2006 May 06
2
[LLVMdev] Still Trying to Build on MINGW
Greg, Looks like Jeff Cohen already fixed this in CVS. Please update and give it another shot. Thanks, Reid. On Sat, 2006-05-06 at 16:43 -0400, Greg Pettyjohn wrote: > > On Sat, 6 May 2006, Greg Pettyjohn wrote: > > > Now I'm having problems with this: > > > > llvm-ar rc ./libgcc.a libgcc/./_muldi3.o <and-lots-more-.o-files...> > >
2006 Jul 28
3
ActionWebService Struct member name including ''-''
Hi I am tryng to mirror a locked away, secure web service for testing purposes and am almost there. Hoever as part of the definition for the structure of the call to the webservice, I have this struct. class MyCall < ActionWebService::Struct member :username, :string member :password, :string member :"remote-ip", :string end However this does not work... Should
2006 May 06
0
[LLVMdev] Still Trying to Build on MINGW
On Sat, 6 May 2006, Greg Pettyjohn wrote: > Now I'm having problems with this: > > llvm-ar rc ./libgcc.a libgcc/./_muldi3.o <and-lots-more-.o-files...> > C:\msys\1.0\home\llvm_home\install\bin\llvm-ar.exe: <invalid>: path is not valid > I've tracked this down in the debugger. It is indeed a bug. The problem is that Path::isValid() will reject a string
2006 May 06
2
[LLVMdev] Still Trying to Build on MINGW
Chris Lattner wrote: > On Sat, 6 May 2006, Reid Spencer wrote: >> Looks like Jeff Cohen already fixed this in CVS. Please update and give >> it another shot. > > Is this fixing the issue, or just papering over it? Why are we trying > to load an archive member without a path set? We're not. It's just a sentry value. > > -Chris > >> On Sat,
2006 May 07
0
[LLVMdev] Still Trying to Build on MINGW
On Sat, 6 May 2006, Jeff Cohen wrote: >>> Looks like Jeff Cohen already fixed this in CVS. Please update and give >>> it another shot. >> >> Is this fixing the issue, or just papering over it? Why are we trying to >> load an archive member without a path set? > We're not. It's just a sentry value. Then why does it matter whether the path is
2005 Jan 13
2
[LLVMdev] Win32/Path.cpp - isValid method has a bug
Hi, I think the Win32/Path.cpp - especially method isValid has a bug: ----------------- ... // A file or directory name may not end in a period. if (path[len-1] == '.') return false; if (len >= 2 && path[len-2] == '.' && path[len-1] == '/') return false; ... ----------------- This is valid on windows cmd prompt: 'dir \.' (root dir)
2003 Oct 27
5
Windows Build - Down to Run Time Errors
I finally got a clean compile and link for wxRuby. Now I''m down to deciphering runtime errors. Once again, I''m going to pick up on this tomorrow, but I thought I''d post my console output tonight to see if anyone has any thoughts before I tackle this tomorrow. I''m running the same app "minimal.rb" E:\Dev\RubyDev\wxruby\samples\minimal>ruby
2005 Jan 14
0
[LLVMdev] Win32/Path.cpp - isValid method has a bug
Well, technically speaking, I am following the rules as defined in the MSDN Library. Too bad those rules ignore the existance of "." and ".." :( Anyway, fixed. Henrik Bach wrote: > Hi, > > I think the Win32/Path.cpp - especially method isValid has a bug: > ----------------- > ... > // A file or directory name may not end in a period. > if
2006 May 07
1
[LLVMdev] Still Trying to Build on MINGW
The constructor for Path validates the path, period. It doesn't know or care whether the path is ever handed to the OS. An invariant for Path dictates that it always has a valid path. Chris Lattner wrote: > On Sat, 6 May 2006, Jeff Cohen wrote: >>>> Looks like Jeff Cohen already fixed this in CVS. Please update and >>>> give >>>> it another shot.
2006 Jul 24
1
XMLRPC WebService and Structs
Hi First off, I apologise if this is covered somewhere and I just don''t get it... I''ve looked far and wide .... As a part of my current project I need to hook up to a particular XMLRPC webservice that won''t be available for me to use until close to launch date... So I am trying to recreate the webservice that mirrors the live one so I can test my application
2006 Feb 07
2
Objects and Properties
I''m working on a legacy product and introducing prototype to make my life a little easier and I''m running into some problems with the properties being added to some built in objects like Array. The product has a form validator that''s used all over that adds fields (and some of the fields properties) that need to be checked to an array called fields (edited for
2005 Jan 30
1
[LLVMdev] Patch for Path.inc on mingw
Hi, I would like this patch for Path.inc to be accepted. I cannot tell, why the win32 version of isValid() method fails when issuing a correct path on the mingw platform. This is especially annoying when configuring the cfrontend, because we get this misindicating error: 'checking for sin in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.' And it has