-
Setup:
Rails 4.0.2
Mongoid 4
CanCan 1.6.10
Objective
Change `user2` email to `superman@bb.cc`
``` ruby
class Ability
include CanCan::Ability
def initialize(user)
can :update, User, id => us…
-
Hi All
I realize this is probably a horrible idea from a UI perspective - but I have a client who wants it.
When creating a Child of a Parent record - RailsAdmin allows said Child to be created in a…
-
According to the readme:
> `Bullet.stacktrace_excludes`: ignore paths with any of these substrings in the stack trace, even if they are not in your main app.
However the option does not appear to be…
-
While using:
- ruby `3.1.2`
- rails `6.1.7`
- rails_admin `3.0.0`
- rails_admin_globalize_field `1.2.0`
I'm getting the following error while trying to edit any model:
```
ActionView::Missi…
-
Hi All,
Seem to be getting this error whilst creating a page in my Rails Admin CMS -
```
Unauthorized assignment to lft: it's an internal field handled by acts_as_nested_set code, use move_to_* met…
-
Not sure if this is the right place to ask this!
Hi all,
I'm trying to understand what's wrong here and if there is a way to speed up.
When I load up a rails_admin index for a query I'm getting the…
-
Receipt is described here https://github.com/sferik/rails_admin/wiki/CarrierWave
I've add picture association to Testimonial model:
``` ruby
# app/models/testimonial.rb
class Testimonial < ActiveRe…
-
I have received the requirement to be able to store a number of reports (at the group level or globally) so they can be accessed as a single link.
The use case is to distribute a paper copy of a rep…
-
If you search / query a model with a jsonb field, and your search query is plain text (like "aa"), then the server will throw a JSON parser exception like the following:
```
JSON::ParserError (757: …
wlipa updated
2 years ago
-
I'm not sure the root of the problem but if I attempt to use a custom partial for a has_many relationship and try and create a nested form, I get no method safe_concat for nil:NilClass if my partial i…