I looked into the source of the ckeditor gem (cf.
https://github.com/galetahub/ckeditor) and read a bit in its documentation
today...
I would say Rails acts nearly in the same manner as php would. You
integrate the JS, you create a view with a form and add the corresponding
classes to it. Tha
I can see your points as outlined and thanks for the advise.
Since I am learning Rails, I am coming from a PHP background where I am
using ckeditor and have no issues with uploading files.
I am used to just telling PHP where the javascript files are and adding
the necessary javascript to my form
Here's another alternative for you check this out:
https://github.com/comfy/comfortable-mexican-sofa
It is a fully-fledged CMS engine that actually has a file uploader built in (I
think you can upload a file and then DRAG the file reference from the "Upload
files" panel on the right into
I see your problem. You want an "built-in" image uploader?
That's actually pretty hard, but with a bit of work you will be able to pull
that off.
You have two basic strategies:
1) Make the user upload the image file somewhere else (like amazon S3 bucket)
using their own client (like
Jason,
Does tinymce-rails have an image upload built-in?
If now, what other gem is needed to do this?
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and
create a file at config/initializers/paperclip.rb
In that file put your paperclip-specific configuration options.
By default, everything in config/initializers/ loads when the Rails app boots
up.
As far as WYSIWYG inline editors, you will probably lean on your knowledge of
Javascript more he
Thank you, not sure if ckeditor is the best for rails development.
I also have LiveEditor from www.innovastudio.com, but cannot figure out
how to use it in Rails. I use it in PHP and it is great.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed
I have to admit, that I'm as well very new to Rails. :)
I have not yet installed paperclip nor ckeditor but I'm working on an app
on my own and your "case" seemed interesting to me because I also want to
add an editor for editorial purposes writing and maintaining blog posts.
Hence I made a bit
I had to use version 3.5.3
I am learning Rails, so this has been a nightmare for me coming from
PHP.
Regarding your example for Paperclip.options, I do not know where I
would wright that code.
Do you have version 4.1 working?
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You receive
On Sunday, August 24, 2014 5:33:00 PM UTC+1, Ruby-Forum.com User wrote:
>
> Colin Law wrote in post #1155762:
>
> 4. When someone logs out, I clear the value and call reset_session.
> Again I see the sql record has the "data" variable with changed value.
>
> session[:user_id] = nil
>
Which version of Paperclip do you use? There was a security issue with file
types hence they changed the behaviour in version 4.0 of paperclip, but of
course there was an error in 4.0 concerning content type mapping. In 4.1
they introduced a possibility to add options like so:
Paperclip.options
>
> I found the answer.
>
>
Had to use https://github.com/rmagick/rmagick/wiki/Installing-on-Windows
then set gem to gem "paperclip", "~> 3.5.3"
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop rec
You will almost always find that as your mobile app and web app grow you will
require changes to the API. This is why a versioned API enable you to not worry
about crippling old mobile clients and move new clients onto the new versioned
endpoints.
It may be temping to just to "re-use" the exi
We have had good success with PhoneGap (also known as Cordova). However, you
will need to write a client app that is written in a framework like Backbone,
Angular, Ember. I don't know much about RHOMobile but maybe it is a competitor
to PhoneGap/Cordova?
As far as back-end, I actually do reco
On Aug 25, 2014, at 8:42 AM, André Orvalho wrote:
> Well It's more like a question for the future. If I need a app to start with,
> is it a good practice to still do the website and use the common API or to
> just develop the app?
It depends on your market. The advantage of the web site is tha
2014-08-24 18:32 GMT+02:00 Colin Law :
> On 24 August 2014 17:08, wrote:
> > Hey guys,
> >
> > I am about to develop my first mobile app with the same function of a
> > website I have developed in rails. So I have a few questions:
> >
> > 1. My plan is to create an API to the website and build t
On 25 August 2014 08:07, Jaimin Pandya wrote:
> Colin Law wrote in post #1155829:
> ..
> In your last message, you given clue to solve this error.
>
>> Your error suggests that the lineitem object in @line_item does not have > an
> associated expensescounter
>
> This is main clue which help me to
Colin Law wrote in post #1155829:
> Assuming the above is correct then what is LineItem.expensescounter?
> Is it an association, so in the lineitem class you have lineitem
> belongs_to Expensescounter or has_one Expensescounter? If so then at
> some point you should have made an expensescounter an
18 matches
Mail list logo