similar to: Validate_presence_of error in nested object is not displayed

Displaying 20 results from an estimated 600 matches similar to: "Validate_presence_of error in nested object is not displayed"

2006 Jul 03
6
Rjs $("aaa").insertHtml is not a function error
Hi, I''ve searched the list and found that someone had the same problem as me http://lists.rubyonrails.org/pipermail/rails/2006-May/043760.html I''m have in my page a link like this <%= link_to_remote ("Add #{image_tag(''add.png'')}",:url=>{:action=>''addProduct''})%> and in my controller def addProduct ..................
2009 May 26
1
how does form_for and validate_presence_of work hand in hand
when we have validate_presence_of :name in the model and then when we put in the create action that we re-render ''new'', then the form_for will populate the fields, and error_messages_for ''story'' will have the correct error message. this is really great, and and the same time, this looks like magic... i found that many books don''t explain how the magic
2006 Mar 14
7
Starting with RJS - not working
Hi, I''m trying to work with RJS and folowed Cody Fauser''s tutorial (http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates) I''ve started by creating a new rails applications and executing rake freeze_edge rake rails:update:javascripts rake rails:update:scripts After that I''ve created a controller: class DtestController < ApplicationController
2006 Mar 28
5
RJS call from controller issues javascript that doesn''t get evaluated by browser
Hi, I''m on Rails 1.1 and I have a problem wit RJS In my cotroller i have ==>>> def show @contact = Contact.find(params[:id]) render :update do |page| page[:contactInfo].replace_html :partial=>"contactInfo" end end <<<=== And my contactInfo partial looks like this and it''s placed inside a div element ==>>> <table>
2006 Apr 12
11
validate_presence_of not working for me
Hi all, I just begun with RoR and going through the Agile development w Rails depot example ATM. I did everything according to the book (i believe), and after 3 hours of googling, reading docs, making sure i did everything correctly i can not make the validate_presence_of() to work - at least not as it looks in the book. My Product model looks like: class Product < ActiveRecord::Base
2015 Feb 10
2
Dovecot 2.2.15 issues with global ACL
Hello, We have upgraded from Dovecot 2.2.13 to 2.2.15 and we are using global ACL file. The content of the ACL file is as following: * owner r INBOX owner lrwstipekxa INBOX/* owner lrwstipekxa user owner rwstipekxa user/* owner rwstipekxa This worked fine but after update any user cannot see any folders from under the INBOX, also they cannot create any new folders. Error into the logs are
2006 May 16
5
Transactions in RoR
Hi, Does anyone knows how to manage transactions in RoR. Thanx
2006 May 11
2
Reuse code
Hi, I have several helper methods that I use on one view . Is there a way to share this methods on several views ? To be more specific in: companies_helper I''ve defined the helper methods that I would like to use in products section. Thanx, Ovidiu
2012 Nov 21
2
Moving file after transfer
Hi, I\m writing a VFS module that needs to move a file, after it is transferred, to a folder that is not shared. The shared folders that use this VFS module are used to sent files for processing by another application. The module signals the application that it has work to do and moves the file. So far I've been using the last close call, moving the file after doing SMB_VFS_NEXT_CLOSE().
2006 May 16
1
Nice Ruby tutorial for begginers
http://tryruby.hobix.com/
2014 Dec 12
1
Dsync issues between Cyrus and Dovecot
Hello, I have some issues related with dsync when trying to perform two way synchronization between Cyrus and Dovecot. 1st time synchronization always works and email, folders, flags can be synced between these but once for example in dovecot side the user creates a folder, dsync fails with the following errors: Debug: brain M: Other brain should change mailbox INBOX/dove GUID
2012 Oct 17
1
API function for net join
Hi, Is there an API function for C as an alternative to calling "net ads join ...." from shell? I'm trying not to use a system call like popen("net ads join ...","r"); because there are some problems with finding the reason for a failed join: - Linux exit codes are limited to 8 bites so the net command return value is of no help. - Parsing the command output
2017 May 05
10
[Bug 12769] New: error allocating core memory buffers (code 22) depending on source file system
https://bugzilla.samba.org/show_bug.cgi?id=12769 Bug ID: 12769 Summary: error allocating core memory buffers (code 22) depending on source file system Product: rsync Version: 3.1.0 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: core
2007 May 15
4
problem with Clam AV
I had updated clam antivirus recently (with YUM) and since then the following error is appear when my cron job runs The cron job and the output is list below: /usr/bin/freshclam --quiet -l /var/log/clam-update.log ERROR: Parse error at line 44: Option AllowSupplementaryGroups requires boolean argument. ERROR: Parse error at line 76: Option FixStaleSocket requires boolean argument.
2006 Apr 03
6
problems with Rails 1.1 observe_field :with serialized
I''d like to use observe_field to watch a field, and then when it changes send the entire form to the server. I had been using <%= observe_field ''entity_name_''+@account.id.to_s, :frequency => 0.5, :update => ''auto_complete_''+@account.id.to_s, :url => { :controller => ''committees'', :action=>
2020 Feb 03
4
USB devices with same vendor:product id
Hi, We have a VM with several USB devices attached. Everything works well, but sometimes, after a reboot of the host, some usb device get a different bus/device number and that prevent the reboot of the VM : ------- error: Failed to start domain xxx error: internal error: Did not find USB device 04b9:0300 bus:1 device:5 ------- I guess this is because we have multiple usb devices with the same
2009 Oct 29
4
manipulating form
Hi, I work with forms and i won''t to set a name for a form to use javascript functions.. How can i do Thanks
2006 Apr 24
3
Rails Recipes Book: Routing Error
Hi, I''m working on the first rails recipe, InPlaceEditing, and following the instructions very carefully. After generating the scaffold for Contact, I then go to the page, thus: http://localhost:3000/contacts/ I get this error: Routing Error Recognition failed for "/contacts/" What should I be checking for to resolve this problem? Thanks. -- Posted via
2010 Aug 11
6
rspec2 not working with shoulda
I am using rails edge. I am using gem "rspec-rails", "= 2.0.0.beta. 19" . I have following code at spec/models/user_spec.rb require ''spec_helper'' describe User do it { should validate_presence_of(:email) } it { should validate_presence_of(:name) } end Here is my gemfile group :development, :test do gem ''factory_girl_rails'',
2009 Jun 07
6
Missing Template when testing with the Brain Buster Captcha partial
When I run my functional tests, they throw an error with the following message: ActionView::TemplateError: Missing template /_captcha.erb in view path app/views:test/vendor/plugins/brain_buster/views/brain_busters On line #23 of app/views/contacts/_form.html.erb 20: <%= f.label :message %><br /> 21: <%= f.text_area :message %> 22: