Displaying 20 results from an estimated 700 matches similar to: "Validation errors not displaying and will not save"
2006 Jun 22
3
Importing images with file_column over http?
I haven''t cracked the source of file_column just yet - but has anyone worked
out a way to snag images via URL instead of a file upload?
Optimally I''d like to have my clients be able to upload a file, or enter in
a URL to store as file on the system.
Any/all help would be cool.
--
seth at subimage interactive
http://www.subimage.com/sublog/
-------------- next part
2006 Feb 27
4
(resend - sorry!) Which controllers?
Hello,
I have recently started learning RoR. I think it''s _fantastic_. I am
absolutely blown away.
OK, this is to prepare you to my idiotic question. Hopefully, I won''t
be stoned.
I am designing a simple application, where users can register, and:
* Publish a photo album
* Publish a simple blog with comments
* Determine their list of friends and foes
The application will
2006 Nov 20
7
Acts as attachement
Hi guys
Question about acts as attachment still getting the following error
undefined method `content_type''
I have set everything up according to the following page however i am
still have trouble
http://weblog.techno-weenie.net/articles/acts_as_attachment
One thing, I have wanted to add this to an existing model in my system.
I have not used the...
script/generate
2008 Jan 08
0
4 commits - test/.gitignore test/image test/Makefile.am test/swfdec_test_function.c test/swfdec_test_image.c test/swfdec_test_image.h test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
test/.gitignore | 2
test/Makefile.am | 2
test/image/Makefile.am | 12 -
test/image/default.stas | 53 ++++++++
test/image/default.sts |binary
test/image/image.c | 251 -----------------------------------------
test/swfdec_test_function.c | 1
test/swfdec_test_image.c | 222
2006 Jun 22
5
Problems with layouts
ruby script/generate controller Tools::Search - ok
in views/layouts/application.rhtml:
<%= render_component :controller => ''tools/search'',
:action => ''searchbox'',
:params => {:context =>
''header-section''}
%>
in
2008 Aug 25
2
to catch exception from update_attribute
Hi
begin
ActiveRecord::Base.transaction do
pb_status_history = ProblemStatusHistory.new
pb_status_history.problem_id = @problem.id
pb_status_history.problem_status_id =
@problem.problem_status_id
pb_status_history.save!
ret_val=@problem.update_attribute("problem_status_id",''ab'')
if ret_val==false
2006 Mar 25
5
Unit test fails on different line the second time it''s run
I''ve got a very peculiar problem with unit tests. First, I clone my
development database with "rake clone_structure_to_test", then I run my
test with "ruby investment_product_score_override_test.rb". It fails on
line 68. Then, every test run after this, fails consistently on line 34.
How is this possible? I don''t use fixtures and I don''t use
1998 Sep 04
0
Time and Login restrictions
Hello,
I wanted to improve a bit Samba security, and add same
new functions so I worked around its code. Changes that I've done
are described below.
If anyone is interested, and wants my patch for testing
please send me a message. I'm not joining it here as it has
20kB gzipped.
Patch is against clean Samba-1.9.18p8.
========================================
Changes to the Samba
2005 Jun 07
1
Help with possible bug (assigning NA value to data.frame) ?
There's something peculiar that I do not understand here. However, did you
realize that the thing you are assigning into parts of `a' is NULL? Check
you're my.test.boot.ci.1: It's NULL.
Be that as it may, I get:
> a <- data.frame(matrix(1:4, nrow=2), X3=NA, X4=NA)
> a
X1 X2 X3 X4
1 1 3 NA NA
2 2 4 NA NA
> a[a$X1 == 1,]$X3 <- NULL
> a
X1 X2 X3 X4
1 1
2010 Dec 05
2
CMENU file handling problems.
I'm writing something that's based on Murali Krishnan Ganapathy's CMENU
system,
except mine's driven by a menu.txt file that I supply (mostly so I can
edit the
menu.txt wherever I happen to be and so I won't need a syslinux build
environment
everytime the menu structure changes).
I'm able to build up menus that do what I expect, so that's good.
However, I want to be
2005 Jun 07
0
Help with possible bug (assigning NA value to data.frame)?
This 'strange behaviour' manifest itself within some quite complex
code. When I created a *very* simple example the behaviour dissapeared.
Here is the simplest version I have found which still causes the strange
behaviour (it could be quite unrelated to the boot library, however).
library(boot)
## boot statistic function
my.mean.s <- function(data,subset){
mean(data[subset])
}
2012 Mar 26
2
[PATCH DOCDAY] docs: wrap misc/xen-command-line.markdown to 80 columns
# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# Date 1332754018 -3600
# Node ID b3fc067f938da14fd8b0dce7b00c4876bbf99e8b
# Parent d8e15dc99bf307bd0ae0b042f1d50409b9f26386
docs: wrap misc/xen-command-line.markdown to 80 columns
Makes it more readable as a text document.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
diff -r d8e15dc99bf3 -r b3fc067f938d
2008 Jan 19
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/image test/swfdec_test.c test/swfdec_test_image.c test/trace
libswfdec/swfdec_as_strings.c | 2
libswfdec/swfdec_sprite_movie_as.c | 22 ++--
libswfdec/swfdec_xml.c | 117 ++++++++++++++++-------
libswfdec/swfdec_xml.h | 8 -
libswfdec/swfdec_xml_node.c | 32 +++---
libswfdec/swfdec_xml_node.h | 2
2009 Apr 02
6
[Bug 1584] New: umask setting in sshd
https://bugzilla.mindrot.org/show_bug.cgi?id=1584
Summary: umask setting in sshd
Product: Portable OpenSSH
Version: 5.2p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: leo.baltus at omroep.nl
2019 Nov 03
2
suddenly change: idmap uid + gid
On Sun, 2019-11-03 at 08:39 +0000, Rowland penny via samba wrote:
> On 02/11/2019 23:18, Hilberg via samba wrote:
> > Hi
> >
> > The server suddenly changed the uid + gid. this happened to times,
> > yesterday and the week after. The default group at example
> > The samba is a AD member where we have many users (>20 000) and we
> > use
> > autorid
2010 Oct 27
1
CentOS 5.x on Geode LX
Greetings all-
I'm currently working with CentOS 5.x (various version 5.0 - 5.5) attempting to run it on a system based on the AMD Geode LX CPU. There are known issues with this CPU running Centos 5, specifically those listed here:
http://bugs.centos.org/view.php?id=2552
The kernel and system run fine on the Geode LX, but the installer detects the CPU as i586. Since there is no i586 kernel
2012 Jul 16
2
Tk grid problem
Hi everybody,
I have a problem with the grid function in tk.
I juste try to put 4 buttons like this:
-------------------
| | |
| | C |
| A |--------|
| | |
---------- D |
| | |
| B | |
-------------------
A is 2x2
C is 1x2
B is 1x2
D is 2x2
but the code bellow dont work :
require(tcltk)
tt <-
2006 Jun 20
2
Problem with "can''t dump anonymous class Class"
I submitted this earlier, but the web forums went down and I''ve screwed up
the thread, so I''m starting over.
I''m trying to built a document upload system. The system has a main
Document model with different subclasses for different types of documents.
With the code below, if I attempt to create a Document, it works fine, but
if I attempt to use one of the subclasses, I
2011 Mar 26
2
upload file, read first 10 lines.
I have a csv file and in my controller:
uploaded_file = params[:upload][:csv].read
@rows << FasterCSV.parse(uploaded_file)
I want to put in @rows only the first 10 lines but the read method
reads all the file.
How can I do?
--
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
2005 Oct 16
1
prototype help needed - how to get started
Hello,
Despite Sergio''s excellent documentation on prototype, I’m still struggling
to get started. I hope somebody is able to help me a with a little example
to get me going.
Please see html code below – I have this little navigation bar and I like to
add some events/functions to the buttons.
Let’s say, onmouseover, I like to change e.g. the background-color of the
button and