top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to configure default options of "ckeditor_rails" gem

+1 vote
127 views

I am new to Rails, can someone please guide me to how to edit the default options of "ckeditor_rails" like normal ckeditor do.

posted Aug 31, 2014 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I have tried to post others wall (means not in my friends list). Am getting the below error

Unsupported Get request.

Any suggestion.

+1 vote

Anyone can help me figure out why the blogit gem dates posts a month ahead of today?

0 votes

I did the following to implement cron jobs in rails 3 using a "runner" instead of a rake task.

STEP 1: I have whenever gem installed and scheduler.rb has following:
set :environment, development set :output, { :error => "/log/error.log", :standard => "/log/cron.log" } every 1.minute do runner "Cron.sendAutomaticsSMS()" end

STEP 2:
Cron file: lib/cron.rb
class Cron $ # End Whenever generated tasks for: /code/rails_projects/new/bhk/bigbhk-dev/

STEP 3:
Running cron job:
$sudo service cron restart cron stop/waiting cron start/running, process 4027

This does not do anything. I wait for operation as defined in sendAutomaticsSMS() method to execute but the cron doesnt even enter this method.

I dont see any error in log/development.log and there is no log/cron.log in my rails app.

+2 votes

I've been trying to install and update different gems to work with Ruby on Rails, but keep getting the same error, apparently indicating I can't install or update any gem:

I generally type in something like:

gem update --system or gem install Rails --version 4.0.0 --no-ri --no-rdoc

And get the following:

ERROR: While executing gem ... (Errno::EINVAL)
Invalid Argument - socket(2) - udp

Note that I've proceeded to the same setup just a couple of days before on a different machine and had no problem.

I couldn't figure any place where this same Error was explained or encountered.

Anybody here can help out?

...