Questions tagged [scaffold]
429 questions
0
votes
1 answer
phalcon: what is the role of "--force" in the scaffold command?
When we use this command (for example);
phalcon scaffold products --force
what is the benefit of "--force"? Please explain for me...

Omid Ebrahimi
- 1,150
- 2
- 20
- 38
0
votes
1 answer
Temporary scaffolding on rails 3
I'm new to rails and I'm actually reading a tutorial on it but unfortunately it's a very old one (2007). They talk about temporary scaffolding which is a one-line addition to a controller for example:
class StoryController < ApplicationController
…
0
votes
1 answer
Rails User.all bug found in Hartl's scaffold app - Why is User.all not responding to command like an array of hashes?
I discovered this bug while reproducing Michael Hartl's scaffolded rails demo_app from his rails tutorial.
I went into the rails console
rails c
I asked for the User.all array of hashes and out it through its paces:
2.0.0-p0 :012 > User.all
User…

Vietnhi Phuvan
- 2,704
- 2
- 25
- 25
0
votes
1 answer
How can I scaffold with bootstrap different number of columns?
Is there a way to scaffold on a fluid layout two rows with the one having 3 the other 4 and have those centered on my page.
_________________ __________________ ______________________
______________ _______________ …

Petran
- 7,677
- 22
- 65
- 104
0
votes
1 answer
Is there any scaffold templates for BreezeJS?
Examples are great, but scaffolding some templates for your existing odata model entities would be a way better start and would reduce waste time for repetitive work a lot!

DATEx2
- 3,585
- 1
- 24
- 26
0
votes
1 answer
cakePHP & Twitter Bootstrap - View
I'm using this plugin with CakePHP --> TwitterBootstrap, everything works like a glow except I can't change the layouts. ie. index, add and such.
I have a model called Cinema and have created this with cake bake and the same thing with…

Philip
- 6,827
- 13
- 75
- 104
0
votes
2 answers
Twitter Bootstrap's use of asterisked width properties in CSS
I've been looking at the CSS behind Bootstrap's scaffolding system, and I want to know why the asterisks and the different percentages are necessary in the code below. I believe that the asterisks are an IE hack, but why do the percentages need to…

Lefèvre
- 32
- 8
0
votes
0 answers
Undefined constant Rails 4
by copying and trying to modify a scaffold manually in Rails 4, I got an error when I want to delete an article: uninitialized constant Article::Tag.
Another error when I want to edit an Article: "undefined local variable or method…

sidney
- 2,704
- 3
- 28
- 44
0
votes
1 answer
Subsonic 3 - No Fetch, FetchAll, or Scaffolding Control?
I'm fairly new to SubSonic, and downloaded the latest version which only contained a zip file with the folders Binaries, Examples and T4 Templates. Upon further reading I was looking forward to trying the Scaffolding control, however the DLL…

ElHaix
- 12,846
- 27
- 115
- 203
0
votes
2 answers
Error: The subfolder for admin templates does not exist or is spelled wrong
I have tried to Generate Custom Template using oil Scaffold on FUELPHP.
Move oil/views in oil/views/my_custom
run php oil generate scaffold/my_custom -f monkey name:string description:text
the result is
Error: The subfolder for admin templates…

viyancs
- 2,289
- 4
- 39
- 71
0
votes
1 answer
Calling created Objects in Rails Scaffold
I am new to Rails and creating a football results app, I did a rails generate Scaffold Team name:string form:string then I added a few teams to the table, my next step I tried was to create a Fixtures table that stores teams, so I did rails generate…

user1014888
- 431
- 2
- 7
- 14
0
votes
2 answers
Adding an autoincrementing SNO column in Rails Scaffolding?
Is there a way in which I can create a serial number (SNO) column through scaffolding in Rails which increases on adding a record, decreases on deleting a record and cannot be modified manually?

Arc
- 1,680
- 6
- 30
- 57
0
votes
1 answer
Boolean Fields broken in Ext or Ext_scaffold?
I'm experimenting with using ext_scaffold to generate UI elements for a Rails-backed web application.
However, I'm experiencing issues with the behavior of boolean fields. For instance, when I do
./script/generate ext_scaffold product name:string…

Joseph Weissman
- 5,697
- 5
- 46
- 75
0
votes
1 answer
How do I "print" a list inside another list?
I started using rails today and got into a problem.
I created three classes: Item, Requisito and Video. The last two has a scaffold item:references
Then I pointed the Item class to the other two items.
class Item < ActiveRecord::Base
…

Tadashi Mori
- 108
- 2
- 9
0
votes
1 answer
Why is rails not inserting data during create, only nil? (New scaffold)
I had an annoying problem with a freshly generated scaffold. Everything would run nicely, but while I could enter data, everytime I tried to save he would commit nil successfully. For all fields.
Looks like this:
Started POST "/spraches" for…

Michael Schmitz
- 1,074
- 2
- 12
- 27