I just went through a similar problem with displaying an image in a PDF
generated from the gem prawn.
Worked find in development, but not production. prawn knows nothing about
the asset pipeline or path helpers. I'm sure that the same is true with
trying to get the path from java/coffee/script.
I also had a little fund with this. Still not sure what the purpose of the
method is but I’m assuming getting the State of an array of booleans. Maybe
even, well I don’t know. When I get stuck with what should be a simple
combinations of boolean, I go back to ancient methods and draw a picture!
I upgraded my MacBookAir to Mojave several weeks ago which includes Safari
12.0.1. I've also had been upgrading several internal rails applications to
Rails 5.1.6 and new version of RailsFoundation with xy-grid.
I then started having problems with those applications. Mainly a CRUD
delete link w
pepe wrote in post #960118:
>
> I am guessing that you are planning on using later on the message that
> you are raising. Why not just add the error to your memo object errors
> and then check in your controller if your memo.errors is empty or not?
>
> pepe
Thanks for both suggestion. Again, first
I trying transactions for the first time and trying to figure out the
best (DRY?) way to get the error message outside the transaction block.
If in a controller if I have
def create
Memo.transaction do
@memo = Memo.new(params[:memo]) # polymorphic build
@resource = @memo.memoble # get pa
5 matches
Mail list logo