Displaying 20 results from an estimated 4000 matches similar to: "UrlColumn Plugin"
2006 Jun 09
9
Opinions on catch-all routing?
I remember reading somewhere a tip on improving your search engine
ranking, by forming URLs that included relevant text, e.g.
www.domain.com/article/man_eats_hat. In the rails app that I''m writing,
I''ve noticed I can set this up very easily by appending the post title
(after downcase.split.join(''_'')) to the post link. So, blog.com/posts/4
can easily also be
2006 Apr 02
5
Showing current user''s information and saving
Hi,
I am logging users in and keeping them in session. The problem I am
having is showing only a certain logged in user''s information.
In the Adverts_Controler:
def show
@advert = Advert.find(params[:id])
end
I am also having issues with saving an advert for an user:
def create
@advert = Advert.new(params[:advert])
if @advert.save
flash[:notice] = ''Advert
2007 Aug 29
2
assign local variable instead of instance variable.
Hello,
I have a view that generates a list of adverts with <%=
render :partial => ''advert'', :collection => @adverts %>
I have the render call described with
@controller.template.should_receive(:render).with(:partial =>
''advert'', :collection => @adverts)
Bu when i was about to describe my partial i got stuck.
My partial _advert.rhtml:
2006 Apr 02
1
One to Many Relationship Issues
Hi,
I am having issues with a one to many relationship(it never works :-)).
Jokes aside, I am getting an error:
Mysql::Error: #23000Cannot add or update a child row: a foreign key
constraint fails: INSERT INTO adverts (`image_url`, `price`, `title`,
`website_url`, `description`, `user_id`) VALUES(''bb'', 22.0, ''aa'',
2006 Jul 21
1
Passing a variable between methods
Hi,
I am trying to add search functionality to may application. I am
struggeling to pass my query to the controller and then show all my
search results in another view. How would I do this?
Model:
class Advert < ActiveRecord::Base
belongs_to :user
def self.search(query)
if !query.to_s.strip.empty?
tokens = query.split.collect {|c| "%#{c.downcase}%"}
2006 Jun 30
4
Posting error: Ruby On Rails mailing list archieve
You do not have permission to post to group railinglist. You may need to join
the group before being allowed to post, or this group may not be open to
posting.
Visit http://groups.google.com/group/railinglist/about to join or learn more about who
is allowed to post to the group.
Help on using Google Groups is also available at:
http://groups.google.com/support
-------------- next part
2014 May 11
0
YAMAHA CAR ADVERT!!!
Hello,
We are currently seeking to employ individual?s world wide. How would you like to make money by simply driving your car advertising for YAMAHA.
How it works?
Here?s the basic premise of the "paid to drive" concept: YAMAHA seeks people -- regular citizens,professional drivers to go about their normal routine as they usually do, only with a big advert for new "YAMAHA YZF-R6
2010 Dec 09
2
Skip validation on nested attribute
Hi,
I have a two models, advert and address.
An advert has one address.
On my advert form I have a nested form of the address. But I only want
to create the nested address depending on the adver kind.
how can I skip the nested attribute validation?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Aug 12
2
Ferret Issues
Hi,
I have installed the ferret gem (on WIN XP). My search and result view
is working, but it comes back with empty results all the time. It seems
like ferret is building the index (there is 3 binary files in the index
directory).
If I add the line:
acts_as_ferret :fields =>
2009 Jul 16
1
Statistics Data Manager in Novartis Spain - Barcelona
Dear All,
I have been asked to forward to you this job advert. The advert is in
Spanish as the role require knowledge of Spanish.
If interested please contact Jimena at jimena.aldasoro-ext at novartis.com.
Regards,
Marco
#########################################################################
- Puesto: Data Manager Estad?stico Marketing
- N?mero de plazas: 1
- Tipo de contrato: Temporal
2012 Aug 09
3
Pop quiz: Where do you watch for job postings?
Hi all, I''m looking for some advice on where we should be putting an
advert if we are looking to hire a full time rails developer? Or turning
it around what websites (or mailing lists) do folks here use to if they
feel the need for a change in view from their desk?
A few details to narrow down scope since it might affect the advice,
apologies in advance, trying to NOT make this an
2006 Aug 12
4
Ferret Wierdness
Hi,
I have installed the ferret gem (on WIN XP). My search and result view
is working, but it comes back with empty results all the time. It seems
like ferret is building the index (there is 3 binary files in the index
directory).
If I add the line:
acts_as_ferret :fields => [''title'',''description'',''price'',''website_url'']
2010 Aug 01
1
authlogic and controlling the resources users can access
question re authlogic, all set up but now i''d ike to control access to a
resource so only users who own that resource can control it, I figure I
put this in the Advert controller - is this approach sound ?
http://pastie.org/1069488
I also specify that an admin (just a boolean controlled user) can edit
everything... is it good ?
User, has many Adverts and Advert belongs to a User
Just
2014 Nov 12
0
Keepalived - spurious failovers
Hello,
We are using CentOS 6.6 and keepalived 1.2.13 on two servers for
failover, no load-balancing. Failover is governed by the NIC being
present, and the Apache and Tomcat processes being present. Both servers
are configured as 'EQUAL' (not master/backup). An initial priority of
100 is set, and if a process or NIC fails, then this is reduced by 60 -
causing a lower priority to be seen
2004 Jun 16
4
Digium X100P vs Dodgy Ebay X100P
Hi
I thought this might be of general interest.
Recently I purchased an X100P from a Digium reseller in the UK. Very
pleased with the card; works perfectly. My friend (known for his deep
pockets and short arms) purchased an X100P card from Ebay. He's had no end
of problems with line noise, dropped called etc so I thought I would compare
the two cards. Plus mine was delivered within two
2002 May 11
0
Are YOU looking for a new website, to develop an existing website, for cheaper hosting or domain names?
Are YOU looking for a new website, to develop an existing website, for
cheaper hosting or domain names?
We are a UK based company who would like to offer you our considerable
experience and expertise in the field of website design, eCommerce, web
hosting, domain name facilities and search engine positioning.
We can offer you cheaper solutions with domain name registration from ?10
per year,
2002 Feb 27
2
2.2.3a printing problems: no printing from Word, spools taking up all CPU on clients
I'm running Samba-2.2.3a plus the printer defaults patch (samba-2.2.3a-5mdk
rpm) on a Linux 2.4.(Mandrake 8.X). This server has been upgraded from
2.2.3, from 2.2.2, which was upgraded from 2.2.1. Everything was working
with the same printer configuration at version 2.2.2 and 2.2.1 (although I
have moved the WINS server from a new machine since then).
The server is a PDC/WINS server, and
2008 Dec 21
1
flash fails to work on Los Angeles Times website - fix
Hello,
I have a 32-bit install of C5.2 on my Intel Centrino Laptop (2005).
The Adobe flash plugin works fine in Firefox in all cases except on the Los Angeles Times website http://www.latimes.com.
I was baffled by this for a few months, since it works on another 32-bit C5.2 box. When I realized that the only real difference was that the laptop had no LAMP install, and both had the same elaborate
2004 Nov 10
1
logtail ignoring information in rotated logs
Hi gang,
While writing a script that uses logtail, I noticed that logtail assumes
nothing interesting happened between its last invocation and the
rotation, which means that exciting bits of data could be lost.
This seems a bit dodgy (correct me if I'm wrong about how it works!) so
I made a dodgy patch to logtail that checks for the existence of
$logfile.0, which on Debian seems to always be
2014 May 07
4
[Bug 926] New: icmp: ICMPv6 types are not supported
https://bugzilla.netfilter.org/show_bug.cgi?id=926
Summary: icmp: ICMPv6 types are not supported
Product: nftables
Version: unspecified
Platform: x86_64
OS/Version: Debian GNU/Linux
Status: NEW
Severity: normal
Priority: P5
Component: nft
AssignedTo: pablo at netfilter.org
ReportedBy: