similar to: replacement for functionality from acts_as_textiled

Displaying 20 results from an estimated 400 matches similar to: "replacement for functionality from acts_as_textiled"

2006 Aug 10
1
acts_as_textiled
It''s nothing revolutionary. Just a plugin which lets you forget about the whole Textile to HTML render process. Once you tell your model which fields should acts_as_textiled (and as long as you''re using form_for for your text entry) it Just Works. No DB changes or whatnot. Here''s the skivvy: http://errtheblog.com/post/14 Tips and tricks in that post and README.
2007 Nov 07
0
RedCloth startup?
hello hello.. as i am both developing and using my rails app on my laptop and as i shut it down at least daily (at night - to conserve energy), i had put the ruby startup server command (ruby script/server -d) in a cronjob set to reboot. that way, by the time i opened my browser, rails was already running. presto. problem is, now that im using redcloth (via acts_as_textiled), i get an error on
2008 Nov 18
4
How to read the logs?
Can anyone tell me where I can learn how to read and decipher the logs? I''ve done a few google searches and nothing comes up. Specifically, I just uploaded my first app to a production server and it doesn''t work and I got the following even though it works perfectly fine on my development machine: ctionView::TemplateError (uninitialized constant
2011 Aug 16
6
Unicorn logging in production env
Hi All, as I can see on https://github.com/defunkt/unicorn/blob/master/lib/unicorn.rb#L53 the?Rack::CommonLogger used only in development env and in weird evn called "deployment". Any chance to add "production" to this case? Serg Podtynnyi
2011 Aug 29
0
Why is #verify_active_connections! :nodoc: ?
Hi, I''ve just got a quick question. How come ActiveRecord::ConnectionAdapters::ConnectionHandler#verify_active_connections! is marked with :nodoc: ? I understand that this is used internally (depending upon an application''s configuration?) on every request (?) to clear out old, stale database connections. All this to prevent the old, classic "MySQL server has gone
2012 May 09
5
Unicorn doesn't play nice with Capistrano deployment?
I am having issues when using unicorn with a Capistrano deployment. >From what I have been able to understand Capistrano uses a scheme in wich every release is deployed inside the releases directory under a unique name and if the transaction was successful, creates a symlink named current that will point to that release. So I end up with a deployment directory such as:
2008 Feb 25
6
Review Request for Significant Performance Improvement in ActiveRecord
I''m going through my old tickets, and I found an outstanding ticket that I''ve put many hours into, and is absolutely critical for a production project that I''m now updating to Rails 2.0.2. The ticket: http://dev.rubyonrails.org/ticket/9560 This comes on the tail of: http://dev.rubyonrails.org/ticket/9497 Which I believed to be the superior improvement due to a very
2007 May 27
3
Stripping out textile markup
Hi, I have several hundred pages of text, all carefully marked up with textile, which I use redcloth to convert to html for display. Now I find I need all these pages to alternatively output plain text - ie. A-Za-z0-9 and simple punctuation only. Any suggestions on the best way to do this? My only thought is to let redcloth do its stuff, and then strip out the html tags - but it feels wrong.
2011 Oct 08
5
How to automate the restarting of Unicorn?
Hi, I have a question about automating the restarting of Unicorn with the following steps, and much appreciate your help. Assumption: (i) "pid" is set to unicorn.pid in the config file; (ii) a Unicorn process is already running. (1) kill -USR2 `cat unicorn.pid` (via Capistrano deployment task for example) (2) Inside the "before_exec" hook in the config file, do: kill -QUIT
2004 Feb 06
1
nnet problem
Hello everybody, I want to use the nnet library and my problem is that the algorithm seems to accept only class as target when the neural is fiiting. So the output when I use predict.nnet is also a class. Is it possible to have numeric variable as target ? If yes, what is the syntax ? Thank you. Cordialement, R?gis CHARIGNON
2015 Aug 24
0
Regalamos 1.000 vuelos a Canarias
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- saved from url=(0057)file:///C:/Users/casas.a/Desktop/Vuelos%20Brillantes.html --> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
2012 May 22
3
[RESQUE]Question about queues
I run Resque with x ''general'' queues. With ''general'' I mean a queue that may run every type of Worker. Or in the Rake command: COUNT=x QUEUE=* rake resque:work When a worker runs a job of a specific class, it may not run another job of the same class simultaniously. This job has to wait until the previous job has finished before it may start. BTW The reason
2012 Sep 18
3
Nginx + Phusion Passenger 3 problem with "504 Gateway time-out"
Hi, I have a Rails 3.2 app. There is a specific request that takes a long time to execute. The context is, the user uploads a pdf, and then we have some processing through carrierwave + rmagick that generate a jpeg from the first page of the document. Everything works in dev mode using both webrick and thin. The problem happens on the prod environment with Nginx + Passenger. The request takes a
2010 Mar 23
1
Bold greek letters using plotmath
I'm trying to annotate some graphics using plotmath and finding out that the code I'm using isn't bolding the greek letters - it bolds the rest (once I adjusted the numerics to characters), it's just failing on the greek characters. Any suggestions welcomed. Jim Price. Cardiome Pharma Corp. Test code: plot(1:5, type = 'n') # The not bold version text(2, 2:4, cex =
2007 May 19
3
form question
Suppose I have the following models/migrations: class Car < ActiveRecord::Base belongs_to :manufacturer validates_presence_of :manufacturer validates_association :manufacturer end class CreateCars < ActiveRecord::Migration def self.up create_table cars do |t| t.column :name, :string t.column :manufacturer_id, :integer end end class Manufacturer <
2009 Oct 05
2
domain names within app
Hi- I have an shopping cart rails app. I would like to be able to host multiple domain names within the same shopping cart application. I would like to be able to detect the domain name, and then set a parameter that tells what logo to display for that domain name. Does anyone know how this can be done? Thanks, Clark
2016 May 05
4
Resuming the discussion of establishing an LLVM code of conduct
On 5 May 2016, at 12:14, Charles Davis via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > The last sentence of the third paragraph bothers me: > >> In addition, violations of this code outside these spaces may affect >> a person's ability to participate within them. > ​This essentially gives the committee carte blanche to police our thoughts no matter where we
2011 Oct 23
1
Problem using github gem on Windows 7
Hi all, I''m new to this and trying to set up my dev environment on a Window 7 x64 machine. I used the latest version of RailsInstaller to start with. I''m running into a problem using the github gem. When I try ''gh create-from-local'', I get: "You must ''gem install win32-open3'' to use the github command on Windows" However, when I
2007 Dec 25
3
Where can I find compress and uncompress?
Dear All Utilities compress and uncompress seem to have disapeared when I migrate from CentOS 4 to CentOS 5. Anyone knows where we can find them? Thanks <html> <body> <font face = "arial" size = "1" color = "#000080">Aviso:<br>"O emitente desta mensagem &eacute; respons&aacute;vel por seu conte&uacute;do e
2014 Oct 09
0
Write R code to feed the world!
We are hiring an R programmer to make biologists better at crop improvement: http://jobs.monsanto.com/missouri/research-and-development/jobid6130734-r-programmer-jobs Please apply if you are passionate about building R culture and infrastructure. . . .. . ... . ... . .. . . ... . ... . . . .. .. .... .. . ... . Barrett Foat, PhD Genome Data Analytics Team Lead