-
Given the following model code that enables delete with paperclip
```
# delete picture
attr_accessor :delete_picture
before_validation { self.picture.clear if self.delete_picture == '1' }
```
rails…
-
It works in coffeescript
$(myImg).Jcrop
______trackDocument: true
______onSelect: (x) ->
It doesn't work in livescript:
$(myImg).Jcrop(
______trackDocument: true
______onSelect: (x) ->
_____)
Is …
-
![-1](https://f.cloud.github.com/assets/406868/1224616/a50d2102-2750-11e3-97dd-fb074213c54f.png)
should it look like this?
```
$ bundle list | grep rails
* coffee-rails (4.0.0)
* compass-rails (…
nir0 updated
10 years ago
-
Console error messages:
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/libs/jquery-1.8.2.min.js' because its MIME type ('text/plain') is not executable, and str…
-
In a production build, there's a 404 on a jcrop image caused by an unreplaced path.
-
Runtime errors in Chrome console:
```
Refused to execute script from 'https://raw.github.com/nathanaeljones/studiojs/master/libs/jquery-1.8.2.min.js' because its MIME type ('text/plain') is not execu…
-
Еще одно предложение:
При сохранении изображения желательно делать превьюшки к каждому оригинальному изображению, а то я вставил 40 фотографий, и теперь у меня при открытии страницы грузятся сразу ори…
yupe updated
10 years ago
-
I get these errors when I try to save the image (I am using CarrierWave):
`NoMethodError in RailsAdmin::JcropController#update`
`undefined method `crop!' for #`
```
Parameters:
{"utf8"=>"✓",
"_m…
-
I try since a long time to load correctly css and js in my twig template but it never worked.
here's for example my css block :
{% block stylesheets %}
{{ parent() }}
{{ f…
-
### Expected behaviour
Filename uploaded using sync client to be same on the web page.
### Actual behaviour
Chinese character file saved into the sync folder, example "文件.doc", the file than automat…