Displaying 20 results from an estimated 1000 matches similar to: "Trying to use Ajax scaffold throws up odd behaviour"
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 with before_filter/set_charset...
I try to set the charset of pages
2006 Mar 13
5
What is the matter with content_for_layout?
Here is my layout 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'' %>
  <%=
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 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
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
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
2007 Jan 23
3
Too many session numbers per page request?
If I view the source on one of my pages I see:
<script src="/javascripts/prototype.js?1168898271"
type="text/javascript"></script>
<script src="/javascripts/effects.js?1169242655"
type="text/javascript"></script>
<script src="/javascripts/dragdrop.js?1169241657"
type="text/javascript"></script>
2006 Mar 15
0
Ajax_generator as a component for master/detail use?
I''m experimenting with the Ajax Generator for the first time and I''m
trying to setup a master/detail edit page.
My goal is to display both the Master info and the detail records on a
single page.  And allow detail records 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
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
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
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
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 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
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
2020 Jun 19
3
Bootable USB keys : which brand ?
Hi,
In my daily work I'm mainly using USB keys for work : one with CentOS 7, one
with OpenSUSE Leap 15.1, one with Slax Live for data recovery purposes, one
with Ghost4Linux and one with FreeDOS which I use for flashing the odd BIOS.
Last week I bought a set of three flashy colored USB keys in a local shop. To
my surprise, none of them seem to be able to boot anything. When I write a
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:
2011 Jul 04
3
Unusual graph- modified wind rose perhaps?
In a OpenOffice.org forum someone was asking if the spreadsheet could graph this http://www.elmundo.es/elmundosalud/documentos/2011/06/leche.html 
I didn't think it could. :)   
I don't think I've ever seen exactly this layout. Does anyone know if there is anything in R that does a graph like this or that can be adapted to do it.
Unfortunately my Spanish is non-existent so I am not
2006 Apr 18
0
AJAX not displaying - due to action not complete?
Hi everyone,
I''ve got a pair of AJAX actions that use slide_up and slide_down to
toggle the editing of some info.  You first see a table of
entitlements for a user.  Clicking "Change these" slides that up and
then a full table comes down, displaying all possible entitlements for
that user.  Remove and Add links are next to the appropriate
entitlements.  When finished, clicking
2001 Sep 30
1
[idstewart@compuvative.com: DdeConnect errors while running setup.exe]
Apologies to those for whom this is a cross-post.  I posted this to
wine-devel before realizing this was the proper forum.
Due to resource constraints (75 MHz processor, 1.2 GB hard drive, 16 MB
RAM), we recently replaced Windows98 on our daughter's PC with Linux
Mandrake, using the IceWM window manager.  It isn't quite as flashy as
Windows, but it boots beyond the startup screen, which
2020 Jun 19
0
Bootable USB keys : which brand ?
On 6/19/20 9:48 AM, Nicolas Kovacs wrote:
> Hi,
> 
> In my daily work I'm mainly using USB keys for work : one with CentOS 7, one
> with OpenSUSE Leap 15.1, one with Slax Live for data recovery purposes, one
> with Ghost4Linux and one with FreeDOS which I use for flashing the odd BIOS.
> 
> Last week I bought a set of three flashy colored USB keys in a local shop. To
>