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
2
votes
1 answer

ActiveScaffold keeps rounding my numbers

I need to display & edit highly precise decimal numbers - latitude and longitude. ActiveScaffold keep rounding my values to precision 6 scale 3, can I change that to precision 11 scale 8 somewhere? Thanks
jaycode
  • 2,926
  • 5
  • 35
  • 71
2
votes
1 answer

how to add date picker in activescaffold with rails4

At https://github.com/activescaffold/active_scaffold/wiki/API:-Column It recommends to install a plugin: https://github.com/scambra/unobtrusive_date_picker Now I am using rails4 so can't really install a plugin as it says rails 4 has removed support…
whizcreed
  • 2,700
  • 3
  • 22
  • 35
2
votes
3 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
2
votes
1 answer

ActiveScaffold on Heroku's read-only file system?

ActiveScaffold apparently creates public/blank.html every time the server starts, even if that file already exists (so adding it to version control doesn't help). This is causing my application to fail to boot on Heroku, since they have a read-only…
David Rivers
  • 2,896
  • 1
  • 31
  • 39
2
votes
1 answer

activescaffold controller missing activescaffold work around

I have a 3yr old application that has some controllers with some very unrestful actions. I'm trying to implement a new resource that has relationships to some of the older ones, but I want to use activescaffold to manage the nested resources rather…
Chris Drappier
  • 5,280
  • 10
  • 40
  • 64
2
votes
1 answer

active_scaffold w/ Rails 3.2 gives no visible response for search, edit, new actions etc

I added a couple of models and controllers with active scaffold. However, whenever I click any of the actions such as new, edit, search, show etc. nothing is visible in the browser. It seems that the server is responding to it as the logs…
2
votes
0 answers

undefined method `javascript_expansions' for ActionView::Helpers::AssetTagHelper:Module

Possible Duplicate: After upgrading to Rails 3.1.1: “undefined method `javascript_expansions'” error I'm using tinymce with activescaffold in rails 3.2 and I'm getting this error: undefined method `javascript_expansions' for…
Sarwan Kumar
  • 1,283
  • 9
  • 24
2
votes
2 answers

Rails 3.1 active_scaffold 'jQuery("form.as_form").live' is not a function

Rails 3.1.10 Active_scaffold 3.2.17 I got the js error message: Event thread: DOMContentLoaded Uncaught exception: TypeError: 'jQuery("form.as_form").live' is not a function Error thrown at line 25, column 5503 in () in…
Lesha Pipiev
  • 3,251
  • 4
  • 31
  • 65
2
votes
2 answers

Helper column override in ruby-on-rails

I have ruby-on-rails app with activescaffold to build GUI based on database structure. Users have roles, each role is a set of rights. Each right is a combination of controller and action which user is permitted to perform in this controller or…
Aleksei Petrenko
  • 6,698
  • 10
  • 53
  • 87
2
votes
1 answer

Adding roles & permissions to Devise User; NoMethodError: undefined method

Rails 3.0.13, Devise, CanCan and ActiveScaffold; Ruby 1.9.3 194 on RVM (if that makes any difference) I am trying to set up generic roles for the devise users and specific permissions (requirements are that roles have default permissions but the…
ScottJShea
  • 7,041
  • 11
  • 44
  • 67
1
vote
1 answer

How can I specify available ActiveScaffold actions on a per-record basis?

I have a very simple admin controller in my Rails 2 app that displays all the records for a model read-only: class Admin::InspectionsController < ApplicationController active_scaffold :inspections do |config| [:create, :update, :delete].each…
andrewdotnich
  • 16,195
  • 7
  • 38
  • 57
1
vote
1 answer

Active_scaffold record created message : Created #<Docket:0x0000013800ec4df0>

I'm using Rails 6.1.7 and active_scaffold latest version with a very basic tutorial one model app, I get this message on the form top when a record is created: Created # Otherwise the app works fine. Is this an…
DenisM
  • 13
  • 3
1
vote
2 answers

Why does Rails render RJS templates within a layout?

I need to do this for a controller which uses the active_scaffold gem. We have a controller that looked something like this: class Admin::UsersController < ApplicationController layout 'admin' active_scaffold :users do |config| …
David
  • 2,311
  • 1
  • 15
  • 13
1
vote
2 answers

Activescaffold Rails 3 (vhochstein) STI localization

Im trying to localize the labels for ActiveScaffold STI children. In development it works fine with just this: es: activerecord: models: rule: "Regla" concrete_rule: "Regla puntual" weekly_rule: "Regla semanal" …
cicloon
  • 1,099
  • 5
  • 13
1
vote
1 answer

How to list active records using Active scaffold with association in rails 2.3.8?

I want to list all the records from DB, which are all active(true) in my index page. I'm using active scaffold plugin with rails 2.3.8. any suggestion how to add active condition in my controller? here is my admin controller class…
prabu
  • 6,121
  • 8
  • 35
  • 39
1 2
3
9 10