similar to: NOOB: Representing linked objects in one form

Displaying 20 results from an estimated 700 matches similar to: "NOOB: Representing linked objects in one form"

2017 May 08
2
Call does not go voicemail
The "error" I was talking about was in your log: "...== Spawn extension (extensions, 4, 3) exited non-zero on 'IAX2/home_server-6364'..." The call terminated here in a error which prevented the dialplan from continuing. Something there is broken, my recommendation is to check you registrations first inside asterisk: > sip show peers Something wasn't
2006 Jun 19
3
Parent Child form using Partials
I am trying to make a simple application which consists of contacts and their addresses. class Contact < ActiveRecord::Base has_many :addresses end class Address < ActiveRecord::Base belongs_to :contact end I would like to be able to edit/add addresses from within the edit/add of the contact. I scaffolded the contact and address objects and modified the contacts/_form partial as
2007 Apr 22
0
rename error using rebuild_index in console after searching
Hi, I use ruby console to experiment acts_as_ferret, but I ran into file rename error when I try to rebuild index after doing a search. is this normal? I am using Ferret 0.10.9 in windows XP. Loading development environment. >> Address.rebuild_index => {} >> Address.find_by_contents(''US'') => #<ActsAsFerret::SearchResults:0x4f2ffcc @total_hits=2,
2006 Jul 24
6
error_messages_for not working
I have the following code and I am not able to get it working. The error message is not coming on the top, it is just getting displayed on a different page if I dont have the rescue block commented at the bottom. Model: user.rb require "digest/sha1" class User < ActiveRecord::Base validates_presence_of :eaddress, :fname, :passwd, :pcode, :country, :day, :year, :month, :gender,
2006 Aug 02
2
Ajax_Scaffold display from link table
Hi, Ive followed the pets/people ajax_scaffold example without any problem. I have a table documents and each document has a category. In the documents table i have a field called category_id. So in the documents grif i want to display the corresponding catgory name and when it comes to adding a new category or editing the have a drop down list to select from. category.rb require
2006 Jan 16
4
Creating two records at once
Hi there, I have a User model and a Profile model. A user has_one profile, and a profile belongs_to a user. The profile model contains a user_id column as the foreign key. The problem comes in when I want a user to register. In the user_controller I have a method that creates the user. I also want the profile model to be filled in with the appropriate user_id foreign key (I don''t care
2006 Jul 28
4
ajax scaffold
someone using ajax scaffold ?? I''m using @scaffold_columns = [ AjaxScaffold::ScaffoldColumn.new(self, { :name => "name" }) ] in my model... I have a column named "name", but it''s not working, When I click in "Create New" ajax indicator starts but not occurs . . . someone can help me? tks
2006 Apr 30
3
require "ajax_scaffold" in model error
Hi there, I''ve got installed ajax_scaffold_generator (3.1.2, 2.2.1) Anyway I''m following the example here <http://height1percent.com/ articles/2006/04/18/ajaxscaffold-3-1-0-released> which suggests the following in a model file: -------------------------------------------------------- require ''ajax_scaffold'' class Pet < ActiveRecord::Base
2006 Mar 24
6
login forms , redirect_to and ajax-scaffold problems
Hi, I have a standard type authentication technique direct from AWDWR, so there is a before_filter :authorize_employee, :except => :login in my employees_controller.rb the authorize_employee is in application.rb def authorize_employee unless session[:employee_id] flash[:notice] = "Please log in" # save the URL the user requested so we can hop
2005 Jan 06
2
Multiple lines on Cisco 7960
I have been trying to get multiple lines on the 7960 to work for several days. i have read all the posts I can find and have run multiple "sip debug" and have gotten no place on this. Here are the relevant section of the config files: sip.conf [scott] type=friend host=dynamic username=scott secret=scott context=default mailbox=6101 callerid=Scott Henderson [scott1] type=friend
2006 Jul 21
3
Extending scaffold with plugin
I want to create a new scaffold. Would it be best to implement as a plugin? Any tips on how to get started? -- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 04
1
Ajas Scaffolding and RJS Templates the same thing?
Hey all, I''m just starting in rails and am working on my first app. I need to do inline editing for 2-15 rows of data on a page. I found Ajax Scaffolding here: http://www.ajaxscaffold.com/ And it is EXACTLY what I want in my app. But I''ve also been trying to read a bit up on RJS Templates. Are they basically the same things except RJS is built into rails or is the
2006 Apr 12
8
Ajax Scaffold 3.0.0 released
Hey everyone, I just put up the 3.0.0 release notes. The major changes in this release are: * Everything has been converted to work with the newly released (Rails 1.1+) RJS templates * Sorting and Pagination have been added. http://www.height1percent.com/articles/2006/04/12/ajaxscaffold-3-0-0-released Thanks and enjoy. Rich -- Posted via http://www.ruby-forum.com/.
2006 Mar 04
4
AjaxScaffold 2.2.0 released with graceful JS degredation
Just wanted to let anyone know that might have checked out the generator before and couldn''t use it b/c you''re project required graceful degredation. Well its in there now. Thanks everyone and enjoy. Demo: http://ajaxscaffold.height1percent.com Release Notes: http://www.height1percent.com/articles/2006/03/04/ajaxscaffold-2-2-0-released-with-graceful-js-degredation -- Richard
2006 Jul 22
5
Prototype error. replace content inside a <TR> in IE
Does anyone know of a fix for the issue with prototype and replacing table rows in IE? render :update do |page| page.replace "row_#{params[:id]}", :partial => ''wireless_request/wrequest'', :locals => {:wrequest => @wrequest} end This ends up making IE throw an "rjs error [object error]" Searching around I found a couple of posts about
2006 Feb 25
31
Ajax Scaffold Generator for Rails Released
I just released a whole new version of the Ajax Scaffold Generator (for Ruby on Rails). The generator creates a scaffold page like the typical rails one, except adding, editing and deleting are all done inline. The generated scaffold is valid XHTML strict and fully styled right out of the box. Check out the demo: http://ajaxscaffold.height1percent.com/ And the how-to:
2008 Mar 11
1
Worker logging in test output.
Hi, I''m trying to silence the information that backgroundrb is putting in to my test runs. I''m seeing several hundred lines of this during the test runs (both unit and functional): {:type=>:all_worker_info} {:type=>:do_work, :worker=>:xmlrpc_xmpp_worker, :worker_method=>:register_user,
2006 May 09
13
What is the license of generated code?
I''m trying to figure out what the software license would be for code (scaffolds, etc) generated by Rails. Basically, if I set up a Rails project, can or should I be able to claim copyright (and therefore have the ability to license under e.g. GPL) over the files generated by :- - The "rails" command that creates the initial tree of files - The output of "generate
2006 Sep 08
2
rails equivalent to symfony admin generator?
I''m an experienced PHP programmer (don''t know Ruby yet), and I''m playing around with Symfony (PHP MVC framework similar to Rails) and I found myself asking if there''s really any reason to use it over Rails. From what I''ve seen just about every feature in Rails is superior except one very important thing - Symfony''s admin generator. This is
2006 Aug 08
3
Updating a tr with RJS
I''m having a strange display issue when trying to update a tablerow using RJS. This is the code in the RJS template: page.replace_html "item_#{@item.id}", :partial => ''item_display'' So the existing <tr> has an id like item_1. When the update actions completes, it renders this template and effectively replaces the tr with item_display which as a