search for: adverts

Displaying 20 results from an estimated 277 matches for "adverts".

Did you mean: advert
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 was successfully created.'' redirect_to :action...
2009 Mar 01
15
Ajax in Rails
Hi All, New to the group, and new to learning rails. I''m having some trouble, i''ve done a few tutorials on creating some small apps with rails and am now starting to play around myself. I''ve been trying to create a simple form which when a user enters any data that data is displayed as a preview elsewhere on the page instantly, just like when creating an advert with
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 pa...
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'', ''www.drill.com/cordless'', ''bb'', 0) The user_id(last column) needs to be 1, and its 0 Session dump: --- flash: !ruby/hash:Acti...
2006 Jul 21
1
Passing a variable between methods
...here #{ (["(lower(s.song_title) like ? or lower(s.song_lyrics) like ?)"] * tokens.size).join(" and ") } order by s.created_on desc", *(tokens * 2).sort]) else [] end end end Controller: def search @query = @params["query"] @adverts = Advert.search(@query) end #Searches for Adverts def search_results @query = @params["query"] @adverts = Advert.search(@query) end View: search.rhtml: <%= form_tag %> <table> <tr> <td>Search:</td> <td><%= text_field(&quot...
2006 Jul 02
5
Pretty URLs -> Routes
...my pretty urls to work. routes.rb: map.connect '':user'' , :controller => ''front'' , :action => ''list'' , :filter => ''user'' front_controller.rb: def list @advert_pages, @adverts = paginate :adverts, :per_page => 10 @user = User.find(params[:id]) @userAdverts = @user.adverts.find(:all) end http://localhost:3009/dawie where dawie is one of the users gives me an error: Couldn''t find User without an ID which makes sense. My problem is that I don''...
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
2019 May 23
0
[PATCH libnbd 2/3] states: Prevent multi-conn connection unless the server advertizes it.
It is unsafe to connect using multi-conn to a server unless the server advertizes it, so fail if the caller tries to do this. --- generator/generator | 16 ++++++++++++++-- lib/flags.c | 10 ++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/generator/generator b/generator/generator index a372074..a8e6fb6 100755 --- a/generator/generator +++ b/generator/generator
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 =>
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:
2009 Aug 21
12
What to do before launching v1.0?
I’m launching a rails website, the app is written and works, undoubtedly it’ll be an unmitigated disaster when I launch but none the less I thought I’d least attempt to give myself the best chance of success by asking all the gurus here for some advice – pre launch advice if you like. In an ideal world I’d spend days and hours on all of these things and get it absolutely spot on, but as we all
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
2007 Sep 28
0
off topic: Job advert - computational biologist
Hi, I hope you don't mind me posting this to the list: We are seeking a postdoctoral scientist to join the Applied Computational Biology and Bioinformatics group at the Paterson Institute for Cancer Research. The role will be to develop novel approaches for the analysis of high throughput genomic data, such as those arising from Affymetrix microarray experiments. We are an
2006 Aug 14
1
Problems printing lanscape on SAMBA advertized printers
Hi, I'm having a problem with some model of HP printers (specifically 5Ms and 8100s) not printing landscape when accessed via SAMBA (version 3.0.14a-2). The problem is actually visible in print preview on the windows box. But have the same computer print to the printer directly and there's no problem. I'm presuming this has something to do with the way SAMBA interfaces with
2012 Feb 01
0
ADVERT: two courses in R programming
Ken Rice and I will give a course on advanced R programming in two locations this summer. 1. In Edinburgh, June 13-15 (the week before the International Conference in Quantitative Genetics). See http://www.eisg2012.org.uk/ 2. In Seattle, July 23-25, as part of the Summer Institute in Statistical Genetics. See http://www.biostat.washington.edu/suminst/sisg/general The course is about 60% lecture
2004 May 20
0
job advert: linux developer wanted
Hi all, I apologise in advance if this is off-topic or not permitted on this mailing list. We are looking to hire a skilled developer as soon as possible. We are looking for someone with the following skills: - Linux kernel development, especially Netfilter and ebtables modules - Perl software development, including DBI - SQL database programming, especially MySQL Although we would prefer to
2014 Feb 04
3
Applying a DNS RBL to deny authentication?
Hope to get some attention about this idea to reduce hacking passwords. Here is a list of about 700,000 IP addresses that are hacking passwords through SMTP AUTH http://ipadmin.junkemailfilter.com/auth-hack.txt This is a list of IP addresses that attempted to authenticate against my fake AUTH advertizing on servers with no authentication. We do front end spam filtering for thousands of
2008 Dec 21
1
flash fails to work on Los Angeles Times website - fix
...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 set of hosts redirects (to avoid adverts), it seemed reasonable that the /etc/hosts file might be the culprit. Sure enough, both boxes had this line in the redirects ----------- /etc/hosts ------------ 127.0.0.1 ad.doubleclick.net ----------- end snip --------- I could see that flash was hanging on the laptop when it looked for a respon...
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
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'']