Displaying 20 results from an estimated 2000 matches similar to: "ROR code syntax highlighting on blog?"
2006 Feb 20
46
Ruby + Apache Lucene using XMLRPC?
Please excuse me if this has been answered before.
Is there a "how-to" guide or a walkthrough on integrating Lucene with ROR via XMLRPC?
I got Ferret to work but I am worried that it''s not going to be as scalable.
I highly appreciate your assistance.
Thanks
Frank
---------------------------------
Relax. Yahoo! Mail virus
2006 Mar 18
3
Weird stylesheet_link_tag issue after moving servers
Dear experts,
I am in the process of switching servers for my application.
Before the move everything was working properly.
After the move
<%= stylesheet_link_tag ''/stylesheets/styles.css'' %>
generates
<link href="//stylesheets/styles.css" media="screen" rel="Stylesheet" type="text/css" />
2006 Mar 19
2
After Migration dispatch.fcgi not doing its job? Keep gettting the home page
I recently migrated a Rails application. After migration no matter what URL I access within the application, I keep getting the home page.
so http://domain.com shows the home page.
and so does http://domain.com/blog
and also http://domain.com/some/other/url
I have routes.rb properly set up (it was working on the old server).
I am using RHEL 4 ES with Apache 2 and Fast CGI.
2006 Mar 24
6
Chinese characters in the title
Dear experts,
In my application,
Chinese characters work great in the body of the page. However, in the title, they appear as boxes instead of something like " ???????? ".
I also noticed CNET having the same issue:
http://www.cnetnews.com.cn/news/net/story/0,3800050307,39438403,00.htm
So my question to experts here is that is it possible to show Chinese
2006 Feb 06
35
ROR Recipes Beta
Yesterday I got the beta version of ROR recipes book and the recipes are great. For those of you still thinking about it, I highly recommend the book.
The only thing I wish is that if there were some more recipes (greedy me), especially AJAX related and installing an application within your current application.
For instance, it will be great to see how one can implement the typo blog
2006 Mar 24
1
To Open Source Or Not To Open Source?
I have been receviving a lot of feedback on Adoppt.com and based on the feedback, I have one question:
Should I open source my project? What are benefits / drawbacks?
Adoppt employs many principles that I have learned over the years. Alongwith my upcoming Pro Rails book, it will be something nice to give back to the community.
So far I think I would like to Open Source the
2006 Feb 25
3
Is there any projects that implement the social bookmarking?
scuttle is written in php,delirious is written in perl,rails has tealeaf which has not published any files until now,is there any other rails social bookmarking with ajax characteriscs?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060225/0e082cd5/attachment.html
2006 Mar 24
3
String manipulation
I need to make some nicenames from my post titles, like:
- convert spaces to "-"
- delete all the !,?,commas,.,;.:,* from the string
How can I do? Sorry for the noob question...
Oh, and another thing... How can I make permalink this way:
Not .../blog/show/4 but .../category/nicename ?
Thankyou.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 03
6
Saving a User Object while in the Address Controller
Hi,
My saves are failing me and I can''t figure out why.
I am trying to save an address id to a user object just after I create
the address.
This isn''t the exact code, but it shows what I am trying to do.
class AddressesController < ApplicationController
def create
@address = Address.new(params[:address])
saved_address = @address.save
@user =
2006 Mar 01
1
Typo in a sub directory
Hello experts,
I have a rails project at http://domain.com
I would like to install typo at http://domain.com/blog
Is this possible?
I have gotten it installed and using mod_rewrite I can get to the home page.
My mod_rewrite takes everything after blog/ in the url and passes it to typo.
The issue I am having is that all Typo assets are relative and they use link like:
2006 Feb 23
11
Need help for simple RoR code.
I try a ''hello world'' demo here,It only show a ''hello word'' on web page
you can see all my codes and structure here
http://www.smtservers.com/demo/
I want to access the ruby app like this
http://www.smtservers.com/demo/say/hello
but I get a 404 error.
Please let me know what problem the code have
I am new for RoR. I am not sure the site structure is ok or
2006 Jan 30
4
How to encode URLs?
How does one encode URLs in ROR?
Thanks
Frank
---------------------------------
Bring words and photos together (easily) with
PhotoMail - it''s free and works with Yahoo! Mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060130/60280869/attachment.html
2006 Jan 24
14
engines
This page:
http://www.rails-engines.org/download
makes it sound like SVN is optional for using engines, but when I try to run the second
command ("ruby script/plugin install engines"), I get the NoMethodError on nil as
described in the second issue reported here:
http://www.rails-engines.org/wiki/pages/Engines+plugin%3A+Known+Issues
So, which is it? Do I have to have SVN installed
2006 Feb 10
3
robots.txt best practices
I''d been ignoring this error message in my log for a while:
ActionController::RoutingError (Recognition failed for "/robots.txt"):
I had never touched robots.txt. So I decided to make it a proper robots.txtfile
I found this great article...
http://www.ilovejackdaniels.com/seo/robots-txt-file/
...where Dave explains the ins and outs of the file.
Before I changed mine, I
2006 Feb 07
4
Ferret on Rails -- Webrick won''t start?
Hello,
I tried using
http://ferret.davebalmain.com/trac/wiki/FerretOnRails
but Webrick won''t start after implementing the plugin?
I tried both versions but to no avail?
All I get is Booting up ... and then it dies?
No info in log/development.log?
Does anyone has a working copy of acts_as_ferret or has any ideas on what''s wrong? I am placing the plugins
2006 Feb 04
22
What''s the best way to embed a form?
I would like to embed my login form on my app''s home page. What''s the best way to render the login action of member controller from another action?
Thanks
Frank
---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 28
5
Getting number of days in a month
In PHP, there was an argument you could pass to the Date function to
get the number of days in the current month:
echo date("t"); // Outputs "28" for February
I don''t see anything like this in Ruby/Rails. Right now, I''m using a
very ugly line to pull the last day of the month:
@number_of_days = (Date.strptime(Date.today.strftime("%Y-%m-01"))
2006 Feb 03
2
Calling a javascript function after loading a partial with rjs
Hi,
Is is possible to call a javascript function once a partial is loaded.
Here''s what I am doing.
I have a partial that gets updated via. an ajax call. When the partial
is updated I want to call a javascript function ( enableTooltips ) which
will then add tooltips to my links in the newly updated partial.
Any help would be greatly appreciated.
Thanks,
Eric
--
Eric Goodwin
2006 May 11
6
Dynamic data passing thru Rails to Flash
Hi,
I am using Flash Dashboard and 3 sets of listbox.
When i change my first list box say name i need to dynamically change
the second list box and from the second list box when i choose an name i
need to change the content according to this in the third list box.
How can i pass this datas from database in rails.
thanx
g.balaji
--
Posted via http://www.ruby-forum.com/.
2006 Feb 17
3
Accessing Yahoo!, Hotmail and Gmail address book?
Just wondering if any one has been able to come up with a solution to access Hotmail / Gmail / Yahoo address books via their ROR app?
Thanks for any tips/guidance you can provide.
Frank
---------------------------------
Brings words and photos together (easily) with
PhotoMail - it''s free and works with Yahoo! Mail.
-------------- next part --------------
An HTML