similar to: what if...

Displaying 20 results from an estimated 1000 matches similar to: "what if..."

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}%"}
2004 Dec 06
2
FLAC Website
Hello FLAC developers, I'm one of the Xiph webmasters and I wanted to get some input from you guys for how you feel about some ideas that were being kicked around. There is some need to redesign the Xiph.org website into something that is more useful, organized, and accessible. There is also a push to redo parts of the Xiph branding with new logos, mottos, etc to clear up consumer
2004 Dec 06
2
FLAC Website
Hello FLAC developers, I'm one of the Xiph webmasters and I wanted to get some input from you guys for how you feel about some ideas that were being kicked around. There is some need to redesign the Xiph.org website into something that is more useful, organized, and accessible. There is also a push to redo parts of the Xiph branding with new logos, mottos, etc to clear up consumer
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 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
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
2003 May 07
2
force group parameter problem
Hello. I'm having some trouble with the force group parameter in the smb.conf file. I'm running samba 2.2.8a on RedHat 9. The smb.conf file has the following entries: [sales] comment = Sales Share path = /sales public = no writable = yes create mask = 0770 directory mask = 0770 force group
2008 Dec 13
3
Bug with assert_select and javascript?
Hi, I am using Rails 2.2.2 and have some javascript in my html.erb file in the body of the document, inside script tags. The script (which works as intended) contains the line for(var i=0; i<boxes.length; i++) In my functional tests I use assert_select and it is generating a warning "ignoring attempt to close boxes with script". It appears to be interpreting the text
2009 Mar 05
1
How to specify directx version
Hi all I would like to run an old game that was written for directx5. Is there a way to change that in wine? Also, if I want to disable directdraw how can I do it? Many thanks Costas
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'']
2012 Jan 06
2
Zipcode validation
Hi All, How to validate Zip/Postal code enterd is valid based on country selected? Is there any plugin for checking zipcode format for different countries.. Thanks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2014 Sep 04
1
X.Org looking for projects and mentors for the Outreach Program for Women
Hi everyone, X.Org will join the Outreach Program for Women (OPW) in Round 9 (December 2014 - March 2015). The OPW is "open to anyone who was assigned female at birth and anyone who identifies as a woman, genderqueer, genderfluid, or genderfree regardless of gender presentation or assigned sex at birth." For more details on the program see https://wiki.gnome.org/OutreachProgramForWomen
2016 Jul 28
2
[RFC] One or many git repositories?
On 28 July 2016 at 22:12, Chris Bieneman <beanz at apple.com> wrote: > It is worth pointing out the Jenkins job that runs that is a playground I setup for myself. It is nowhere near production ready, and it will fail frequently as I iterate messing around with it. Sure, I think that's implied. cheers, --renato
2015 Sep 08
3
Euro LLVM videos finally online - proposal to use torrents for sharing
On Sep 8, 2015, at 12:26 PM, Renato Golin via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > On 8 September 2015 at 19:20, Tanya Lattner <tonic at nondot.org> wrote: >> Youtube has been discussed in the past but we have usually defaulted to >> mainly hosted on llvm.org and then a copy could potentially be on YouTube. I >> would want this to be an official
2015 Sep 08
3
Euro LLVM videos finally online - proposal to use torrents for sharing
> On Sep 8, 2015, at 1:34 AM, Renato Golin <renato.golin at linaro.org> wrote: > > On 8 September 2015 at 09:29, Yaron Keren via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> The easy solution would be to have a LLVM channel with all videos >> on Youtube which has high qualty CDN. > > That's a good point, I think we should do that. > >