similar to: Typo download during site migration

Displaying 20 results from an estimated 2000 matches similar to: "Typo download during site migration"

2005 Jun 26
4
calling controller and caching from a sweeper class
[cross-posting to rails and typo lists] Hi, I''m tinkering with the code for typo, a rails-based blog engine. Typo has an XmlController with actions "rss" and "atom" which generate feed.xml files, and it uses a caches_page declaration to cache the files that get generated by those actions. It also has a Sweeper (Observer) class that expires those cached files when a
2006 Feb 13
11
ROR code syntax highlighting on blog?
I am interested in putting the cool syntax highlighting for ROR code. What''s the best way to do that? Is it using textilize or another formatting language? Or do I need special stylesheets? Any assistance is appreciated. Thanks Frank --------------------------------- Yahoo! Mail Use Photomail to share photos without annoying attachments. -------------- next part
2006 Aug 07
16
Monthly billing and payment processor recommendations?
Hi, I''m setting up a site that will bill on a monthly basis. I would rather not have to worry about storing customer credit card information. Does anyone have recommendations on payment processors that offer monthly billing services? I don''t want to go the paypal route as I want the user to stay on the site. I''m hoping to find an API to integrate with. I have
2005 Apr 24
4
Typo 2.0
I''m proud to announce the 2.0 release of the typo web logging engine. What started as a toy project while I was waiting for a client at starbucks now became a prestige open source project with tons of modern features a dedicated dev team and even its own hosting service! Get it at http://rubyforge.org/projects/typo/ The 2.0 release has been long coming. Here are some of the new
2006 Jan 05
3
has_one :dependent => true question
Hello, I have two classes that are self explanatory and are listed below. class User < ActiveRecord::Base belongs_to :account end class Account < ActiveRecord::Base has_one :account_owner, { :dependent => true, :class_name => "User", :conditions => "is_account_owner = 1" } has_many :users end In the signup controller when an account is created one user
2006 Feb 14
2
Inline list editing with RJS: best practices
I wanted to get the community opinion on the best way to use partials and inline list (<li>) editing. I have a very common scenario where a list is rendered: --- index.rhtml --- <ul> <%= render :partial => ''item'', @collection => @items %> </ul> --- _item.rhtml (simplified) --- <li id="item_<%= item.id %>"> <div
2006 Mar 26
3
Using a Gem in your App without installing to the system
Does anyone know how to use a gem without installing it to the rails installation? For example, I can download the Money gem package from http://dist.leetsoft.com/ but if I don''t have the ability to install a gem at my hosting provider, how can I use the gem in my app? Cheers, Dan
2006 Jan 13
1
h() aka. html_escape in controller code?
Hi. In controller code I''m doing things like: flash[:success] = "Customer {#@customer.name} has been deleted." I know how to escape html in views by using the h() method. How can I do the same thing here in the controller? Thanks, Zack
2006 Apr 05
2
Typo on Dreamhost
I''ve had no success getting Typo running on my Dreamhost account. Does anyone have a link to an FAQ on getting Typo up on Dreamhost? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Jan 20
6
Pre-populate db with yaml outside of testing?
Hi. What is the best way to pre-populate your database with records while developing, not testing? For example, I want to: 1) > [run this command to populate db] 2) > ruby script/server 3) now I can surf to localhost:3000 and my app will already have relevant data I''m hoping to use yaml to suck it in. Is there a way to use the Fixture class to handle this even though this is
2007 Nov 11
1
Paypal Library - How to stop payments going to sandbox
I am using the Paypal Library for ruby (http://dist.leetsoft.com/api/paypal/) I have been testing it in development mode and the paypal sandbox site. Now I have moved my application into production mode but the paypal url still goes to the sandbox site: https://www.sandbox.paypal.com/cgi-bin/webscr How do I change the paypal URL? -- Posted via http://www.ruby-forum.com/.
2006 May 30
2
ActiveMerchant
Is anyone using ActiveMerchant currently? I''ve seen it recommended on this list several times, but it seems kind of buggy and incomplete and I''m having trouble getting it to work. >From the example at http://home.leetsoft.com/am/, I''ve tried: gateway = ActiveMerchant::Base.gateway(:authorized_net) response = gateway.capture(1000, creditcard) ..but it
2006 Feb 22
5
Moveable Type import question.
Hello RoRsters'', I''ve just started my first project with ROR, and frankly it''s pretty amazing, there are many things that still haven''t "clicked" for me yet but essentially it''s all coming together. My first project is a basic blog application to replace a current Moveable Type based blog. I''ve managed to get the basic functionality
2007 Jan 22
6
[Ferret] Test failures for ferret tagged REL-0.10.14
Hi Dave, I''ve been getting some segment faults while running my tests using 0.10.14 gem so I decided to package the gem locally to add -dH and generate core dumps for you. So I followed instructions here http://ferret.davebalmain.com/trac/wiki/DownloadCurrent and first off ran the tests. I''m getting the following failures. (see this pastie http://pastie.caboo.se/34790). I
2006 Jun 15
3
rails-based blog roundup
I''m considering rolling my own rails-based blog, but want to take a look at what''s available first. Here''s what I know about: Typo http://typosphere.org/ Simplelog http://simplelog.net/ Mephisto http://weblog.techno-weenie.net/2006/6/12/mephisto-out-in-the-wild Am I missing anything?? Thanks, -TJ
2006 Aug 09
1
Re: URGENT: OCFS2 hang - 32 node cluster POC
Run: # top # vmstat 1 # iostat -x /dev/emcpowerb 1 The latter two you can save to a file. For top, just monitor cpu usage and see if any process is hogging all of it. Colin Laird wrote: > and the fstab settings: > > # This file is edited by fstab-sync - see 'man fstab-sync' for details > /dev/VolGroup00/LogVol01 / ext3 > defaults 1 1 >
2006 Feb 18
3
scoped databases need explanation...
Could someone explain this http://blog.leetsoft.com/articles/2005/10/31/scoped-databases in a way that can be understood with an example if possible. Tobi Lutke has started to explain but it does not make any sense. "Since rails 0.13.1 we support calling class methods over associations." what?? give an example. also "The Shop object is figured out at the beginning of each
2012 Feb 23
9
32bit and 64bit version of a package
Hi, I''m trying to write a recipe to install the latest libstdc++ in both 32bit and 64bit flavors and running into issues. Yum only wants to install the 64bit version if I do: yum install libstdc++ If I do something like: package { "libstdc++.i386" : ensure => latest } It tells me "nothing to do" Any suggestions on the right way to do this? Thanks! Alan --
2005 Oct 13
1
Typo Error: wrong number of arguments (1 for 2)
Howdy, I am trying to run the latest version of Typo and when I hit the admin login, I get the error below. Anyone else seen this? H ArgumentError (wrong number of arguments (1 for 2)): /lib/renderfix.rb:20:in `read_template_file'' /lib/renderfix.rb:20:in `render_file'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1.2471/lib/action_controlle r/base.rb:637:in
2006 Feb 26
3
how to format and syntax highlight code in html
I''ve written my own blog (I know typo is better, but I wanted the experience of writing my own) and I want to add syntax highlighting to it. I''ve read about using the ruby gem syntax but I can''t figure out how to implement it. I''ve also wondered if it could be used in my case. How does it work when you have a long line of code but the <div> your