Displaying 20 results from an estimated 20000 matches similar to: "using Scaffolding Extensions plugin"
2006 Mar 01
7
Instant Management Frontend with the Scaffolding Extensions Plugin
I''ve updated the Scaffolding Extensions Plugin[1] recently to add a
couple new features:
1) Scaffold all models and associations with one command
2) Show all associated objects on the edit page
Example of usage:
In an existing Rails application, create a controller (i.e.
"script/generate controller crud"), and modify so it looks like:
class CrudController <
2010 Aug 12
10
Scaffolding working...kinda
Hello all. I''ve been working through some online tutorials, learning ROR
and have a question on scaffolding. Through the command promt i''ve ran
the command:
$ script/generate scaffold Albums
This created the controllers, helpers, models, and views.
I have a database table titled "albums" and have two records saved
within
The problem is that the scaffold command did
2006 Feb 01
1
Scaffolding Extensions plugin and multiple HABTMs
Hello list,
For a school management application, I''ve got three tables:
- people
- subjects
- roles (e.g. ''Teacher'', ''Student'', ''Tutor'', ''Lecturer'', ...)
The HABTM relationship is 3-way, with the links being stored in the
people_roles_subjects table. A person can have a role in a subject,
but may have different
2006 Aug 07
0
scaffolding extensions plugin
Hi,
I''ve been trying to download the scaffolding extensions plugin [1] for
the past two days. I don''t know for how long the site will be down, but
it seems that''s the plugin that will solve all my problems :), I''d
really like to be able to test it.
Do you know of another plugin with similar functionality?
Does anybody have a local copy to share?
Thanks,
2006 Apr 07
0
Dynamic Scaffolding vs. ScaffoldGenerator
I asked this question before, but didn''t get any response. I hope
someone can give me some clue now.
Here''s the background, I upgraded to rails 1.1 and suddenly I was
getting strange failures in my functional tests. I traced the problem
to dynamic scaffolding. I had overwritten all of scaffold''s methods
in my controller (all but show and destroy). Destroy no
2006 Aug 02
0
Updating scaffolding to better fit Resources
Now that were designing are controllers to just be CRUD, scaffolding
makes a lot of sense (DHH must of had this planed from the beginning).
The current scaffolding should be modified to better fit Resources.
Scaffolding doesn''t need to be redone, it just needs a few tweaks.
I''ve already started converting the scaffold method. I made a plugin,
but it still needs some work.
2006 Feb 10
1
Questions regarding plugin version
I think we already want to get the latest version.
But when we use the ruby script/plugin install plugin-name or URL to get
them, How to make sure we get the latest one? How to check after the
plugins installed?
Thx in advance,
Vince
2006 Feb 26
0
error Before updating scaffolding?
Hello all, I am a bit hung up.
I have created a simple table (pluralized) named aircrews and I have edited
my database.yml file to point to the database that I created and that is
holding the table aircrews.
I have gone through the depot tutorial in the Agile book and when I have run
the scaffolding command for the depot app all has worked fine for the table
products.
Now when I run the ruby
2006 Jul 22
2
Error: Before updating scaffolding from new DB schema, try..
Hi, I''m going through the Depot tutorial in the book "Agile Web
Development with Rails" and I can''t even get past the very first step.
I''m getting the following error:
"Before updating scaffolding from new DB schema, try creating a table
for your model (Product)"
when I try to run "ruby script/generate scaffold Product Admin.
I have a table
2006 Apr 16
0
scaffolding issue - new action defaults to list action
I''m creating a photo blog with ror. The front end has gone great, so
now I''m working on the back end, and was playing with scaffolding.
I generated these scaffolds:
ruby script/generate scaffold Photo admin/photo
ruby script/generate scaffold Camera admin/camera
Then, in my routes, I added this line:
map.connect ''/admin'',
2006 Mar 24
0
merging models/views with scaffolding
Allo,
Just started playing around with RoR/scaffolding and have been
impressed so far. However, it seems to create a 1:1 relationship
between Controllers and Models and the basic CRUD actions -- I need to
CRUD two models from the same views and actions.
I have:
Book model
Book controller, with create/edit/show/destroy/list actions and the
scaffold-gen''ed views.
Category model
Category
2007 Sep 19
5
problem after scaffolding
hi guys,
I am having problems after scaffolding
I created a db called "requests"
and when i tried to execute the command
script/generate scaffold request
It gave me an error please make sure you have a database request created
before you do this
The db is obviously created; rails cant access it...
so I tried to hack i copied my view model and controller files from my
local deployment to
2006 Jan 04
1
I''d like to edit the scaffolding file - is it possible?
I notice that I begin each project with a standard css file which is
the one produced by scaffolding PLUS some other stuff. I could cut
and paste a copy from an old project but I thought it would be
"cooler" amongst other things (like more efficient) to just have the
scaffold.css file be created for me.
Is it possible? Is it safe(ish), What would I have to do?
Thanks in
2006 Mar 23
2
Question About Scaffolding for My First Rails App
When using ruby to generate scaffolding, is there an easy way to add
features that would be useful for keeping track of has_many and
belongs_to relations? For example, suppose I have the following:
Users
Sites
Pages
Modules
Each user has many pages, each site has many pages, each page has many
modules, and also the belongs_to relation holds in the opposite order.
I''m using the
2006 Jan 29
4
Problems with FireRuby and scaffolding
I am trying to generate some scaffolding using "ruby script/generate
scaffold order order". It always fails with the message "uninitialized
constant CHARACTER_SET". I have an orders table in a Firebird databse
called TARPRILOGISTICS.GDB. The database is in a folder named "database"
in my rails app root folder. I tried FireRuby 0.4 and 0.4.1. My config
file looks
2010 Aug 08
1
help me
i am creating an aplication where table name albums width attributes
CREATE TABLE albums ( id int(11) NOT NULL auto_increment,
title varchar(255) NOT NULL default '''',
artist_old varchar(255) NOT NULL default '''',
release_date datetime NOT NULL default ''0000-00-00 00:00:00'',
genre varchar(50) NOT NULL default '''',
created_at
2006 Feb 07
0
oracle scaffolding
I just got Oracle connectivity working on my Mac rails installation, and
I started with a simple migration to test.
def self.up
create_table "computers", :force => true do |t|
t.column "description", :string
t.column "brand", :string
end
end
def self.down
drop_table "computers"
end
end
This seemed to work, but when I
2008 May 04
1
scaffolding with namespace
Hi,
is there a way to scaffold with namespace?
I''d like to generate a Posts model with namespace admin. But using
script/generate scaffold admin/post title:string
the migration would generate a table "admin_posts".
So I did now
script/generate scaffold post title:string
moved the controller, views manually to admin/... and had to change each
link manually from (e.g.)
2007 Feb 21
4
Scaffolding plugins that support relationships. . .?
Hi All,
I''m looking for a quality scaffolding plugin. So far I''ve discovered
DryScaffolding and Streamlined. DryScaffolding doesn''t truly support
Rails 1.2.2 so I dropped that. Streamlined works, but is full of
quirks (e.g. many-to-many relationships not cascade updating
correctly, etc). Can anyone suggest a quality scaffolding plugin/
generator/framework that
2006 Jan 27
6
Scaffolding to use has_many and belongs_to ?
What does everyone on this list think about enhancing scaffolding
somehow so that a "has_many" relationship will automatically drop the
<select> box into the view to reference the "belongs_to" part of the
view?
I think scaffolding is great but I am always adding the <select> boxes
to reference the parent association. Do you think this would be
useful? just a