similar to: Split Validations?

Displaying 20 results from an estimated 3000 matches similar to: "Split Validations?"

2001 Mar 21
1
allowing full access to files
Joe Pfaltzgraff@PATAPSCO 03/21/2001 04:08 PM Here is the situation: /samba/users/personA/Phone.doc (0644) /samba/public/Phone.doc (symlink to above file) PersonB opens the Phone.doc in the public share with read-only access. PersonA wants to open the Phone.doc in their user area with full access in order to modify the file. However Word will only open the file read-only. When I check
2006 Mar 01
5
validations without AR - going crazy trying to find link
Hi, in the past few months someone posted an entry on their blog about how to do validations in non-AR classes and I cant find it any more. Anyone have a link? Thanks, Trevor -- Trevor Squires http://somethinglearned.com
2006 Mar 16
6
How to have multiple fields appear in collection_select?
I have a table of employees with the fields "last_name" and "first_name". I would like to populate a collection select so that what the user sees in the drop-down is "Last Name, First Name". So far, the only way I have figured out to do this is by using "find_by_sql" in my model, like so: @employees.find_by_sql("SELECT id, concat(last_name,
2006 Apr 17
15
Version 1.1.2 CHM Documentation File
I finally got around to compiling the Rails 1.1.2 Documentation into a CHM file this morning. You can download the file directly from here: http://delynnberry.com/files/rails-documentation-1-1-2.chm. Let me know if you encounter any problems with the file. -- DeLynn Berry delynn@gmail.com http://delynnberry.com
2006 Feb 07
13
CHM Documentation for Rails Version 1.0
Just wanted to let everyone know that I just posted an updated CHM file that contains documentation for Rails Version 1.0. You can read all about it here<http://www.delynnberry.com/articles/2006/02/07/rails-chm-documentation-version-1-0>. I plan to continue updating the CHM file as newer versions of Rails are announced, but I also want to finish an article that includes a rake file that will
2006 Nov 24
14
CHM Documentation for Rails 1.2.0 - RC1
Since the first release candidate of Rails 1.2.0 was announced yesterday, I decided to update my CHM documentation file for this release. You can find the updated file via my CHM Documentation Project Page [1], or you can download the file directly from here: http://delynnberry.com/assets/2006/11/24/rails-documentation-1-2-0-pre-release.chm. [1] -
2006 Oct 16
6
Rails CHM Documentation - 1.1.6
Just a quick email to let those interested know that I''ve posted an updated version of my CHM document that now has all the documentation from the 1.1.6 release of Rails. You can read more about it here: http://delynnberry.com/2006/10/16/rails-chm-documentation-version-1-1-6 I''m also planning on creating a pre-release version based on what is currently available in Rails trunk.
2006 Feb 19
8
select, first option empty value?
using the below: <%= select(''project'', ''project_type_id'', @project_types.collect {|x| [x.name,x.id]}, {:include_blank => true}) %> but i''d like that first option to have something like "select project type" with an empty value?
2007 Mar 31
1
Problem with S4 inheritance: unexpected re-initialization?
Dear all, To explain my problem I am attaching a demonstration package "myclasspkg": I have the following two S4 classes with similar inheritance: SubSubClassA <- SubClassB <- BaseClass SubSubClassB <- SubClassB <- BaseClass In R I am calling the following functions: > library(myclasspkg) > subA <-
2006 Jan 20
11
HABTM relations
Hi, I have 3 tables with HABTM relation. USERS -> QUOTE_TO_USER <- QUOTES Table QUOTE_TO_USER has 3 attributes: quote_id, user_id, component. I have a form where I can tie multiple users to QUOTE. This is easy one, thru "user_ids" (@quote[:user_ids] = @params[:quote][:user_ids]). In this form I have all users and I just check those I want to tie to this quote, however
2006 Mar 07
4
Controllers More Than One Sub-Directory Deep?
Does anyone know how to make Rails aware of controllers that might exist in directories that exist deeper than one level under the app/controllers directory? I initially figured just adding additional scope information might do the trik (i.e. Tabs::Admin::OneController or Admin::Tabs::OneController), but that does not seem to work. I''m guessing that I can just manually add these
2006 Jun 02
4
Web app developed in WInXP want to run on Linux
Hi All, I have developed a web application using RoR on Window-XP. Now my server is on linux and want to get this running on linux machine. I tried starting the server but it failed to boot in boot.rb at this line: unless RUBY_PLATFORM =~ /mswin32/ require ''pathname'' root_path = Pathname.new(root_path).cleanpath(true).to_s end so I changed(even though the file says
2006 Jan 20
11
Userstamp Plugin
I''m pleased to announce a new plugin for Rails: Userstamp. You can read my blog post at http://www.delynnberry.com/articles/2006/01/20/userstamp-plugin and/or read all about it at the perminant page http://www.delynnberry.com/pages/userstamp. Any comments or suggestions for improvement are much appreciated. -- DeLynn Berry delynn@gmail.com http://www.delynnberry.com A dump of the Readme
2006 Mar 22
2
Radio Button Defailt Value?
I have: <%= radio_button ''foo'', ''bar_id'', ''1'' %> <%= radio_button ''foo'', ''bar_id'', ''2'' %> <%= radio_button ''foo'', ''bar_id'', ''3'' %> I would like to have option #3 be selected if foo.bar_id is nil. Is there a way to do
2006 Apr 14
5
state_models plugin and file_column?
I was looking at Kyle Mawell''s extremely nifty-looking StateModels plugin http://www.kylemaxwell.com/articles/2006/02/06/fun-with-single-table-inheritance and before I go down the road with it, I was wondering if anyone has used it with file_column. The way file_column deals with an uploaded file -- by storing it to the filesystem in a path that employs the model name and id --
2006 Apr 24
4
creating a select box
Hi trying to create a select box in _form.rhtml. I have a table called organisations that contains fileds, 2 being ''id'' and ''name'' these are the fields I need to bring over to the clients _form.rhtml. whats the best way of going about that?? 2 ways i have seen suggested that I cant get to work -@organisations = Organisation.find_all placed this in def new
2008 Jun 06
8
useradd provider not working?
I have this config: # BL00070 - Disable NFS service {["nfs","nfslock","netfs","portmap"]: ensure => stopped, enable => false, } user {"rpc": ensure => absent, provider => "useradd" } user {"rpcuser": ensure => absent, provider => "useradd" } file
2006 Apr 11
11
I can''t get rails to see my plugin. How can I this?
I''m trying to produce a plugin to help me with my page caching woes. I can''t seem to get rails to see my method within the plugin. This is my first attempt at a plugin so I''m sure I''m missing something. I''ve created a directory /vendor/lib/plugins/broom_stick/. I then created an init.rb file with: require ''broom_stick'' I then
2024 Jan 30
1
R interpreting numeric field as a boolean field
Incidentally, "didn't work" is not very useful information. Please tell us exactly what error message or apparently aberrant result you received. Also, what do you get from: sapply(your_dataframe, "class") nrow(your_dataframe) (as I suspect what you think it is, isn't). Cheers, Bert On Tue, Jan 30, 2024 at 11:01?AM Bert Gunter <bgunter.4567 at gmail.com>
2024 Jan 30
1
R interpreting numeric field as a boolean field
Hi Bert, Below the information you asked me for: nrow(mydataset) [1] 2986276 ######## sapply(mydataset, "class") $`Transit Date` [1] "POSIXct" "POSIXt" $`Market Segment` [1] "character" $`N?mero de Tr?nsitos` [1] "numeric" $`Tar No` [1] "character" $`Beam Range (Operations)` [1] "character" $`Operational Vessel Ranges