Questions tagged [scaffold]
429 questions
2
votes
2 answers
Missing Partial error in view spec generated by scaffold in rails 3.1.10
I just generated a scaffold in rails 3.1.10 and when I run rspec I get the following error:
Failures: 1) organizations/edit.html.erb renders the edit organization form
Failure/Error: render
Missing partial /form with {:handlers=>[:erb,…

Sam Joseph
- 4,584
- 4
- 31
- 47
2
votes
4 answers
Grails with MongoDB, Object id, and scaffold
I have data writing to a mongoDB database with issues using integration tests and the Grails scaffolding. When trying to select a domain instance from the 'list' type page, I get the error "[domain name] not found with id null".
I am sure it is…

Mike A
- 71
- 7
2
votes
2 answers
Override a template method in scaffolded controllers
I have a Grails project where I use heavily customized scaffolding templates to add a beforeUpdate template method to update so that I can easily customize scaffolded Controller's without having to generate and then edit each controller…

unicoletti
- 204
- 1
- 8
1
vote
2 answers
Is it possible to combine REST and Non REST actions and resources from a Non REST partial form?
I need a separate index/view from a scaffold generated table I’ve created. In this view, I have about half of the original scaffold columns, with the intention of a user being able to edit and update two of them. I created a non scaffold controller…

KirDav
- 11
- 2
1
vote
1 answer
ruby rvm rails generate scaffold fails
I have this following Gemfile:
source 'https://rubygems.org'
gem 'rails', '3.2.1'
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
Running rvm version:
$…

gliptak
- 3,592
- 2
- 29
- 61
1
vote
1 answer
HEROKU scaffold.css isn't precompiled
I almost run my first ROR app on HEROKU but I've got problem with css. It's sth wrong with precompilation...
LOGS:
2011-10-31T19:23:15+00:00 app[web.1]: 2011-10-31T19:23:15+00:00
app[web.1]: 2011-10-31T19:23:15+00:00 app[web.1]: Started GET "/"…

ruhungry
- 4,506
- 20
- 54
- 98
1
vote
4 answers
How can I create references to objects in Ruby in ActiveRecords?
I am a Java developer I've been learning Rails for the past few days. I have a Java EE application (Uses Hibernate for ORM) that I am trying to port to Rails. I have used scaffolding to generate a few of my models. But I have other models which…

Ragunath Jawahar
- 19,513
- 22
- 110
- 155
1
vote
0 answers
Navigation Drawer in compose is hiding my content?
ModalNavigationDrawer(
drawerState = drawerState,
drawerContent = {
ModalDrawerSheet(
drawerShape = RectangleShape,
…

androidDeweleper
- 21
- 1
1
vote
0 answers
Why is the Text in the TopBar and in the Content inconsistent in this Scaffold?
I may have stumbled upon a bug in Jetpack Compose when using Scaffold and Kotlin Flow. Before submitting a Bugreport, I'd like to know if I made some error.
There is a minimal runnable example under this link. This is a minimal android app showing…

findusl
- 2,454
- 8
- 32
- 51
1
vote
2 answers
Why is ScaffoldState not working in Android Studio Kotlin with Jetpack Compose?
I try to use a Scaffold in android studio with jetpack compose, but I can't use the scaffoldState in my project. Both in a @Composable Scaffold parameter and the rememberScaffoldState() method.
Here is my simple project:
package…

Thibaut_Esteve
- 13
- 3
1
vote
1 answer
Flutter app not building correctly on version 2.7.0
I have an old side project that requires to be modified once in a while to match different customers needs. That said, It's not mandatory to me to update to latest version of frameworks since everything works just fine.
However in my last…

yieniggu
- 384
- 1
- 7
- 20
1
vote
1 answer
How to get rid of recomposing LazyColumn elements when using padding
Each time the TopAppBar collapses and expands, all of the LazyColumn elements are recomposed multiple times.
@OptIn(ExperimentalMaterial3Api::class, ExperimentalAnimationApi::class)
@Composable
fun RoomsScreen(
viewModel: ScreenViewModel =…

Michael
- 11
- 2
1
vote
2 answers
Invalid schematic "route". Please, ensure that "route" exists in this collection
Context
[I am new in this field]
I am working on Angular + Nestjs project and I have created new server directory using nest new server and selected yarn as my package manager,
Problem
I then moved into this directory and ran nest generate route…

Alfha
- 117
- 9
1
vote
0 answers
How to navigate right between screens with bottomBar and others
Please, help me to understand how to do it right.
I have an app, which represent a screen with bottom bar with 4 tabs (1st layer). From this tabs we can enter other screens (2nd layer) without bottom bar. This organized very simple, Scaffold with…

Foenix
- 376
- 4
- 18
1
vote
2 answers
Jetpack compose: Scaffold navigationBarsPadding not working properly
I'm using Jetpack compose with Scaffold. As you can see it doesn't work properly.
Scaffold(
modifier = Modifier
.fillMaxSize()
.navigationBarsPadding(),
) {
...
}
Note that I have called…

Milad
- 697
- 1
- 7
- 13