search for: scaffold_columns

Displaying 4 results from an estimated 4 matches for "scaffold_columns".

Did you mean: scaffold_column
2006 Jul 12
7
Does anyone work with iso-8859-1 database ?
hello, Our database is in is-8859-1, and I want to update some text fields without success due to some accentuate characters ?? ect ... In my html page (where the charset is iso-8859-19) my textarea display the accentuate characters well and when the user post the form ... I thought that I just need to save it .... without success since ruby map one byte for one character ... So I
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 Aug 02
2
Ajax_Scaffold display from link table
...tegory_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 ''ajax_scaffold'' class Category < ActiveRecord::Base belongs_to :document @scaffold_columns = [ AjaxScaffold::ScaffoldColumn.new(self, { :name => "name" }) ] end document.rb require ''ajax_scaffold'' class Document < ActiveRecord::Base has_one :category @scaffold_columns = [ AjaxScaffold::ScaffoldColumn.new(self, { :name => &quot...
2006 Apr 30
3
require "ajax_scaffold" in model error
...ticles/2006/04/18/ajaxscaffold-3-1-0-released> which suggests the following in a model file: -------------------------------------------------------- require ''ajax_scaffold'' class Pet < ActiveRecord::Base belongs_to :person, :foreign_key => "owner_id" @scaffold_columns = [ AjaxScaffold::ScaffoldColumn.new(self, { :name => "name" }), AjaxScaffold::ScaffoldColumn.new(self, { :name => "owner", :eval => "pet.person.name", :sort_sql => "people.name" }) ] end ------------------------------...