search for: ajax_scaffold

Displaying 20 results from an estimated 22 matches for "ajax_scaffold".

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'&...
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 l...
2006 Apr 26
2
HABTM with ajax_scaffold
has anyone managed to do this? It works great for has_one, belongs_to type stuff, but i cant seem to get a HABTM setup going. Any demo code or advice greatly appreciated. Excellent work on this tool by the way its really great work. adam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 13
5
What is the matter with content_for_layout?
...out file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>My Demands</title> <%= stylesheet_link_tag ''ajax_scaffold'', :media => ''all'' %> <%= javascript_include_tag ''prototype'', ''effects'', ''rico_corner'', ''ajax_scaffold'' %> </head> <body> <div id="container"> <%= @content...
2008 Jan 06
8
n00b question/issue
i know this is n00b but i have searched and i can not figure it out. i am running instantrails on windows. i downloaded ajax_scaffold and installed using script/generate in a new rails project. after configing the db i can the following error when trying to access http://localhost:3001/invoices/list (invoices is the controller/table i built ajax_scaffold on)... NameError in InvoicesController#component uninitialized constant...
2007 Mar 22
2
method to display the result of find (..) in a view
I''ve been trying to write a method that effectively displays the result of a find() for say.. my Customer model. What i''ve come up with is this: 1. The controller My main controller first makes the query via the model class MainController < ApplicationController def index order =
2006 Aug 15
5
Set up a default route
Phlip wrote: > Can I fix it by adding a view called ''inventories''? That worked, because I have a sufficiently late version of MySQL. Next question. What does "Set up a default route" mean? When I read... http://wiki.rubyonrails.com/rails/pages/Routes ...it reminds me of the Apache documentation for mod_rewrite. I hope someone appreciates the candor of my
2007 Jan 23
3
Too many session numbers per page request?
...ascript"></script> <script src="/javascripts/controls.js?1169241658" type="text/javascript"></script> <script src="/javascripts/rico_corner.js?1169575655" type="text/javascript"></script> <script src="/javascripts/ajax_scaffold.js?1169575655" type="text/javascript"></script> <script src="/javascripts/dhtml_history.js?1169575655" type="text/javascript"></script> <script src="/javascripts/application.js?1168898271" type="text/javascript"></...
2006 Jul 10
0
ajax scaffold problem
Hi, I am using ajax_scaffold to generate against a model backed by atable on SQLServer... It creates all the stuff, and I can list the items in my table... But, the "Edit" and "Create New" buttons dont work... The strange thing is that the problem occurs when I edit the ajax_scaffold generated controller...
2006 Oct 17
1
Routing Problem
Hi, I have a folder structure see below which basically has a fodler for the main pages of the site(main) and another folder which contains a ajax_scaffold grid to allow a user to view/sort/download documents: views main documents Controllers -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...
2006 Aug 15
6
try creating a table for your model
Railers: Greetings from the low end of the learning curve. I have installed all the prerequisites on Win32, including a lite MySQL database with a table in it called Inventory. Then I run this command line... ruby script/generate ajax_scaffold Inventory ...and I get this error message: error Before updating scaffolding from new DB schema, try creating a table for your model (Inventory) So I read log/development.log, and it contains this: Error: Table ''rails_development.inventories'' doesn''t exist The...
2006 May 09
13
What is the license of generated code?
...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 scaffold" - The output of the third-party "generate ajax_scaffold" In other words, how should I distribute all the files that constitute my software? In practice, just checking everything into svn whether it was auto-generated or not seems to be the norm, and while I''m happy to do that, it''s not clear to me what licenses apply to such cod...
2006 Jun 02
0
Trying to use Ajax scaffold throws up odd behaviour
|Interesting... On a new project with a fresh database just created, I downloaded the smooth-loking Ajax Scaffold generator and tried it out on a ''pages'' table: C:\radrails\project>ruby script\generate ajax_scaffold Page PageAdmin (I''m using Windows.) After it calmed down I tried to access my shiny new admin page, but I got this:| ----- NameError in Page_admin#list Showing /app/views/page_admin/list.rhtml/ where line *#1* raised: |"::PageAdminController" is not a valid constant na...
2006 Mar 15
0
Ajax_generator as a component for master/detail use?
...ecords to be created/edited/deleted on the fly. Not sure its possible, but that''s what I''m trying to do. === Details I have an existing master table of clients. I''ve just created a detail table of todos. (Plural of todo). I''ve used the "script/generate ajax_scaffold todo" to create a basic todos MVC set. Note the plural todos. For some reason the ajax generator created files with the plural name. I now want to edit my master table''s edit view to have it incorporate the detail records. As a newbie I''m guessing that I should add <di...
2007 Aug 02
0
How to: Rails with JRuby/Actice Record-JDBC and JDBC-ODBC
hi to all, it is posible to use activerecord-jdbc with the jdbc-odbc bridge? i have problems to use ajax_scaffold. i get an error message, that the driver is unable to choose type for date from(list of datatypes) my database.yml look like development: adapter: jdbc driver: sun.jdbc.odbc.JdbcOdbcDriver url: jdbc:odbc:ac43demo username: ac_odbc password: ac_odbc i have modified the environment.rb l...
2007 Feb 28
1
Rails 1.2 Bug (?): to_text_area_tag
Hi all, I''m fairly new to rails and thus might be missing something here, but I think I have found a but in ActionPack. If this is not the right place to post this, please let me know where. I discovered this issue while attempting to use the lastest edge version of ajax_scaffold (mooey, MUI, whatever it''s going to be called). I kept getting the error: private method `split'' called for 20:Fixnum Curious as to what was going on, I decided to delve into the code a bit. I found that mooey was calling the input(...) form helper to generate the input fields...
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 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:
2006 Apr 01
7
Any way around AssociationTypeMismatch?
I want to have popup menus and check boxes in my forms to let users select associated objects. In the form I''m working on, the object "belongs_to" another type of object which is selected from a popup menu. The id of the chosen object(s) for association is passed back in the parameter hash, but when rails creates a new object from this parameter hash, I get a
2006 May 21
5
Looking for a Rails AJAX gallery/tutorial
Hello everyone, Do any of you know of a downloadable Rails app that demonstrates all the bundled AJAX-iness in an impressive form? I''m looking for two things: - something I can show off to wow people with Rails'' built-in AJAX power, then show them the code that does the work and wow them again with the simplicity. In short, something that will impress potential customers, as