Questions tagged [activescaffold]

A Ruby on Rails gem that lets you create user interfaces for CRUD (Create, Read, Update and Delete) operations.

It offers features including searching, pagination and layout control.

https://github.com/activescaffold/active_scaffold

140 questions
0
votes
1 answer

Active Scaffold 3.4 Rails 4 override method helper

I have a rails project test Ruby 2.2 Rails 4.0 Active Scaffold 3.4 I have a strange problem with active scaffold when two fields in a different model but with the same name, check the model class Event < ActiveRecord::Base has_many :tickets …
0
votes
1 answer

Need to use form_tag, but the page is rendered through active_scaffold

The main page is processed and given by active_scaffold. In that case I can't find a place to use form_tag (to make a form_tag in order to pass a FILE object to a controller). I did go through the wiki page about active_scaffold, and had not figured…
CoolDrinE
  • 11
  • 7
0
votes
1 answer

Active Scaffold dynamic action link

Maybe someone know of a way to make a dynamic hide/show filter action link that changes on click without writing any javascript or creating partials, just with controller and helpers. So instead of having two buttons: config.action_links.add…
0
votes
0 answers

Input type file to activescaffold

My table resources have image field. Using active_scaffold created the: EDIT DELETE CREATE SHOW pages where shows all fields from database with values. But on the image field I would like to implement this…
0
votes
1 answer

How to add conditional link via active_scaffold?

As everybody usually says, I'm newbie in Ruby on Rails) and have following issue: I have a search form https://www.dropbox.com/s/hmr85xh3ra28nsf/Screen%20Shot%202015-07-10%20at%2023.19.07.png?dl=0 and I would like to have ability to add new msisdn…
versificator
  • 21
  • 1
  • 5
0
votes
1 answer

Active Scaffold + Ruby 2.3.5 not working

I have an application with Rails 2.3.5. And Im trying to use AS latest version, I have used it previously but cant make it work here. I have my ingredient_categories Controller, where i put class Administration::IngredientCategoriesController <…
0
votes
1 answer

Create new record based on old one

I'm newbie here and I'm building CRUD app on Ruby on Rails ( ruby 2.1.5, rails 4.1.6 ) with ActiveScaffold (latest from git repo). I've done CRUD actions successfully, but now I want to create new record, based on old record to improve speed of…
0
votes
2 answers

ActiveScaffold or ActiveRecord how to search on an associated model's column

I have following models Customer: name:string, phone:string has_many :sales Sale: amount:float, item_name:string belongs_to :customer Now in ActiveScaffold I get a simple single line input box to search for sales. What I need to do is, be able to…
whizcreed
  • 2,700
  • 3
  • 22
  • 35
0
votes
0 answers

Active Scaffold Between Dates

I am developing a Rails application using ActiveScaffold and I am stuck with the fact that I need to do a date range filter. I need to do a date range search (equivalent SQL => 'WHERE created_at BETWEEN :date_1 AND :date_2'). For that, I need to…
Wiggin
  • 329
  • 1
  • 3
  • 17
0
votes
1 answer

ActiveScaffold search date range

I am developing a Rails application using ActiveScaffold. The thing is that I need to filter a list of results by a date range. (SQL equivalent 'BETWEEN ? AND ?') I know that ActiveScaffold has a feature that already does that, but it has too many…
Wiggin
  • 329
  • 1
  • 3
  • 17
0
votes
2 answers

ActiveScaffold complains about association

I'm using ActiveScaffold to create an Admin UI. I have two models: Post and Comments. A Post has-many Comments, and a Comment belongs-to a post. There's a validates_presences_of :text validation the Comment model. The problem is that when I create…
Bilal and Olga
  • 3,211
  • 6
  • 30
  • 33
0
votes
1 answer

ActiveScaffold raise jquery.ui.core has already been required

I recently added Active Scaffold in my project. Everything worked fine on development machine. However when I try to deploy, it stops at asset precompilation step, raising the following…
lulalala
  • 17,572
  • 15
  • 110
  • 169
0
votes
1 answer

Is rails 4 supporting active_scaffold?

rails 4 + ruby 2.0 Is rails 4 is supporting active_scaffold ? by source : https://github.com/activescaffold/active_scaffold Overview "ActiveScaffold provides a quick and powerful user interfaces for CRUD (create, read, update, delete) operations for…
Rajesh Gurbani
  • 211
  • 1
  • 6
  • 18
0
votes
2 answers

uninitialized constant Active Scaffold rails 2.3.5

I update my rails application 2.0.2 to 2.3.5. I use active scaffold for the administration part. I change nothing in my code but a problem is coming with the update. I have a controller 'admin/user_controller' to manage users. Here is the code of…
Kiva
  • 9,193
  • 17
  • 62
  • 94
0
votes
1 answer

Rails with ActiveScaffold and Lockdown plugins

Our application is developed using Rails 2.3.5 along with ActiveScaffold. ActiveScaffold adds quite a bit of magic at run time just by declaring as following in a controller: class SomeController < ApplicationController active_scaffold…
Dharam Gollapudi
  • 6,328
  • 2
  • 34
  • 42