Displaying 20 results from an estimated 7000 matches similar to: "How does facebook’s Share a link feature work?"
2011 Feb 16
0
oembed_provider gem now available
Hi everyone,
Version 0.1 of the oembed_provider gem is out.
oembed_provider is a Rails engine to answer oEmbed requests for
application media asset models. In other words, this gem allows your
application, after configuring the gem and the relevant models, to act
as an oEmbed Provider by providing a controller that returns JSON or
XML for a given oEmbed consumer request for the specified media
2006 Feb 22
2
Using ez_where
Hi All,
I am trying to pass values to ez_where to construct my conditions. I
need
to know how the params need to be formated for ez_where.
My search class looks like this:
def search
@display_ad = DisplayAd.new(params[:display_ad])
cond = Caboose::EZ::Condition.new do
pub_date == ''@display_ad.pub_date''
io_number =~
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring..
uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2006 Mar 17
2
Favicon.ico doesn''t show in IE 6
Hello All,
I put favicon.ico under "public" folder. Also, I put a copy into
"public/images". And I put these 2 lines in my layout file:
<link rel="icon" href="images/favicon.ico" type="image/ico" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/ico"
/>
It works fine in
2005 Mar 03
5
Whats ''favicon.ico''
I''m seeing the following in the WEBbrick console output after every GET
192.168.0.108 - - [03/Mar/2005:15:35:19 AUS Eastern Daylight Time] "GET
/favicon.ico HTTP/1.1" 200 60
- -> /favicon.ico
What does /favicon.ico (which doesnt seem to exist in my source) do for
Rails?
_______________________________________________
Rails mailing list
2005 Nov 22
1
What? - 500 unless class Cart included
I have been struggling with a problem for a while, and now have a
workaround, but I want to understand if something is borked in my
config or if this is a bug.
Setup: Mac OS X 10.4.3; Ruby 1.8.2; Rails 0.14.3
Problem: When I create a brand new project, I get an HTTP 500 status.
If I add a Cart model, the 500 goes away:
$ rails test
create
create app/controllers
[etc]
2006 Mar 04
6
Favicon?
I''m sure I''m missing something rudimentary here...
I seem to be having difficulty getting my favicon to appear. I have my
favicon.ico in the public folder. I''ve configured my route.rb to route
the intro page to my "home" controller. I''m using application.rb in my
views to template the headers and footers.
Here is the tag in my <head> in the
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello!
i got this forum powered by apache and mod_rails
lately when i create / edit posts, i get plain html text showing up
instead of the actual page.
here''s what i see:
--
Content-Type: text/html; charset=utf-8
Set-Cookie:
_mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL
%250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2010 Dec 19
0
favicon.ico (shortcut icon) & Internet Explorer 8 & rails
For all the poor programmers out there who have been scratching their
heads ...
If you do something like
<link href=''/images/UltraDedup-icon-003---16x16.ico''
rel=''shortcut icon'' type=''image/x-icon'' />
and place it immediately after the in the <head> section of a webpage
then you may experience the following bizarre behavior:
2006 Feb 16
0
Really Really Important
Now that I''ve got you attention
;-)
Of course I am talking about favicon.ico
It doesn''t seem to be working.
RAILS_ENV => production (apache 2 w/fastcgi)
webrick run environment development
neither of them seem to deliver public/favicon.ico
normally, on apache, I would put it in
/var/www/html/favicon.ico and it works (RHEL)
Is there a trick for this or does ruby routes
2005 Sep 12
0
Icecast 2.3.0 RC2 Annoucement
Ok, this bug has been identified, logged, and fixed in SVN. We will be
most likely building an RC3 in short order...
oddsock
At 03:43 PM 9/9/2005, Joel Ebel wrote:
>Playing around with it some, it seems to be related to the web
>interface. If I don't touch the web interface it seems to stay running,
>but when I start trying to view pages in the web interface it quickly dies.
2008 Jan 13
2
access to webpage code
dear R user,
I need a function that download the code of web page as html, to further
parse it.
something like
>site="http://www.R-project.com"
>code=function(site)
>code
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>The R Project for Statistical Computing</title>
<link rel="icon"
2016 Mar 07
0
[PATCH] inspector: add --no-applications and --no-icon
Add command line options to optionally disable the output of the
installed application, and the guest icon.
This makes the inspection slightly faster, producing a smaller XML to
parse/process in case there is no interest in these details.
---
inspector/inspector.c | 59 +++++++++++++++++++++++++++-----------------
inspector/virt-inspector.pod | 14 +++++++++++
2 files changed, 51
2006 Mar 16
2
WEBrick and OS X 10.4.5 problems?
Has anyone who is running OS X 10.4.5 and the security patches
thereafter noticed that WEBrick is no longer functioning? I have a
machine at school that I believe to be patched with 10.4.5 but not
with the latest security patch and WEBrick seems to run fine for it.
However, on my machine at home I can''t get WEBrick to successfully
run even freshly generated apps.
For both
2011 Jan 05
3
DIV partial update question
Hello everybody
I''m learning rails, buidling my first app and got stucked with one
problem.
I have some client model with institution select list. (Client
belongs_to institution). Since I''m comming from desktop app world, I
would like to build function for user to add new institution and refresh
combo during client edit with ajax. With asp.net i''d use update panel.
2003 Aug 28
1
Postgresql and Dovecot
I am having some issues getting dovecot to work with postgres. Dovecot
starts up and runs fine without using postgres (ie passwd and pam).
There is nothing in /var/log/messages other than:
Aug 28 12:44:05 mail dovecot: dovecot startup succeeded
Then ps -A shows no running dovecot processes (or the imap-login or
pop-login). I have tried with both the RPMs that are on the download
page and
2015 Sep 08
1
Build R with MKL and ICC - make check fails
The whole build goes well and success. Now, when $ make check, it
fails because of the WARNING.
-------------------------------
running code in 'eval-etc.R' ... OK
comparing 'eval-etc.Rout' to './eval-etc.Rout.save' ...WARNING:
ignoring environment value of R_HOME
1d0
< WARNING: ignoring environment value of R_HOME
Makefile.common:93: recipe for target
2011 Feb 13
3
[LLVMdev] Compiling LLVM-Clang with MinGW on Windows
I'm a Windows user, and wish to run LLVM-Clang on Windows.
In Visual Studio 2010, buidling was fairly straightforward via the solution
file from CMake. However, there is no good document (thought I searched for
an hour) how to compile LLVM with MinGW on Windows.
I generated MinGW Makefile and build directories from CMake. I installed
entire MinGW+MSys packages. I tried to run "make -f
2006 Jan 23
1
favicon.ico placement
<link rel="shortcut icon" href="/public/favicon.ico" >
This causes a routing error, and the icon doesn''t load. Should I add
something to my routes.rb file, or should I change the href in the above
link?
--
Posted via http://www.ruby-forum.com/.
2011 Feb 13
0
[LLVMdev] Compiling LLVM-Clang with MinGW on Windows
On 2/12/2011 6:58 PM, nullnull wrote:
> I'm a Windows user, and wish to run LLVM-Clang on Windows.
> In Visual Studio 2010, buidling was fairly straightforward via the
> solution file from CMake. However, there is no good document (thought
> I searched for an hour) how to compile LLVM with MinGW on Windows.
> I generated MinGW Makefile and build directories from CMake.
Ok.