Displaying 19 results from an estimated 19 matches for "oqa".
Did you mean:
oa
2013 Mar 18
9
Rails 4.0 Example app
Hi All,
I have 30 years as a self employed software engineer and have been
experimenting with rails for several years but !!
I would have made considerably more progress and been able to give back to
the community if only there was a demo application that was released with
each new rails release.
I am sure that it would take no more than 15 minutes of someone within the
core team to produce
2011 Mar 15
10
Set bounce address with ActionMailer::ARMailer
Hi all. I send out mails using ActionMailer::ARMailer, via an exim
mailserver. Is there some header/field that i can set so that the reply
field is (eg) webmaster-jMbK1v/RW1uaMJb+Lgu22Q@public.gmane.org but bounced (ie undeliverable)
mails get sent back to (eg) noreply-jMbK1v/RW1uaMJb+Lgu22Q@public.gmane.org?
thanks, max
--
Posted via http://www.ruby-forum.com/.
--
You received this message
2006 Aug 19
1
Re: validates_associated
On 8/19/06, Alastair Moore <alastair-mb+lb5rSoAr10XsdtD+oqA@public.gmane.org> wrote:
>
> Hello all,
>
> Having a bit of a problem with validates_associated. I assume I''m missing
> something out but basically got these two models -
>
> class Seller < User
>
> has_one :profile, :foreign_key => ''user_id&...
2006 Oct 14
2
Documentation for html_options = {}
Hi, trying to locate documentation for html_options = {} as allowed in
RJS calls such as link_to_remote.
Can anyone point me in the right direction please?
--~--~---------~--~----~------------~-------~--~----~
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
2008 Oct 30
2
Desktop Choice Centos 4/Centos 5 or Fedora 9
I have a choice of CentOS 4/5 and Fedora 9 on a laptop.
I have not use CentOS 5 on a desktop but have used
CentOS 4 and Fedora 9. I found the Fedora Gnome not
as appealing as the CentOS 4 clearlooks. Any opinions
from someone who has used CentOS 4/5 and Fedora?
I'm not a KDE fan so KDE users need not reply.
Regards,
Vandaman.
2009 Mar 16
4
Overriding ActiveRecord associations for special cases
Hi,
Does anyone know a good way to override AR associations to take
special cases into account. My current take is the example below which
allows the ''root'' user to access all products, but only works if I
remember to call it with a .all/.find or similar method:
''user.products.all'' instead of ''user.products''. Ideally I guess I want
to return a
2013 Dec 06
1
replace-brick failing - transport.address-family not specified
Hello,
I have what I think is a fairly basic Gluster setup, however when I try to carry out a replace-brick operation it consistently fails...
Here are the command line options:
root at osh1:~# gluster volume info media
Volume Name: media
Type: Replicate
Volume ID: 4c290928-ba1c-4a45-ac05-85365b4ea63a
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1:
2006 Aug 25
7
acts_as_ferret with conditions
Hello guys,
Having a slight problem with acts_as_ferret, specifically using a
condition. I have the following code
@results = SupplierProduct.find_by_contents(params
[:search], :conditions => [''area_id = ?'', @area])
and it seems the condition isn''t being applied. Does anyone have any
pointers?
Cheers,
Alastair
------
Alastair Moore
Standards compliant web
2007 Oct 24
0
Job Opportunities
..., occasionally both, but not anywhere else.
Sorry for you guys reading in India who want to do outsourced work -
you''re good I''m sure, but we''re only looking for people that are in, or
can be in, London or Atlanta.
Send your resume/CV to softwareguy999-/E1597aS9LT10XsdtD+oqA@public.gmane.org and then we''ll get
back to you with the company details etc.
(We leave the company off these kinds of postings to stop the recruiters
launching an around the clock email/phone blitz - you know who you
are!!)
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~-...
2009 Aug 10
1
Call AR belongs_to association accessor ID method on object assignment
Hi,
Haven''t been able to find this raised before but I''m sure it must have
been. When assigning an object to a belongs_to association I would
like it to call the *association*_id= method instead of directly
updating the attributes array. This is because I want to modify the
behaviour when assigning a particular object without writing separate
methods for whether it''s
2012 Jan 19
4
redirect_to with a hash instead of parameters
All,
I have numerous places in my codebase like this:
redirect_to :action => ''schedule_by_uid_and_run_date'', :uid =>
@schedule.first.train_uid, :year => @date.year, :month => @date.month,
:day => @date.day
I''d like to replace the :year, :month and :day parameters with a hash
containing the three parameters. @date is an instance of a Date class,
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
Hi all, I am trying to reproduce rails 3.2 behaviour with fields_for and
nested attributes.
class ControllerAction < ActiveRecord::Base
has_many :interactions, dependent: :destroy
has_many :roles, through: :interactions
scope :controllers, lambda {|name| where("controller_name_id = ?",
name)}
scope :actions, lambda {|name| where("action_name_id =
2008 Aug 09
2
xy plot in version 2.7.1 for Mac (PR#12520)
...cMAVY9SjmNFNGDKzrvJ3ph2enRM2/waVahGFFwp
w3M6EokBn6mVz/Vr9S0UaVlqlLHW+zZ8q3aZEFA0KndkAz4seTzg45Iv5J08NWckGxOpNNkhN7hD
yU7yLfLWbIjHQ5wWngFUtVOTMxyXcSI7yC1FIytjPiDrdtq0ye+lPe0ZU9Sw38g3OQvauPL9QNse
YNOLim3MAx7cA3bXVWz1NcDOEWDxUMX2PenPR9n1ysscavbDKdEYa/pQKn2vAzbfAH5eL5V+3C6V
ft5hDtbx1DIKbtHXsjDlJRDUG+xm/OQa/YuDnnxVC7DAOY5sAfqvADc/AvsfAtsfA4lqYKgVkcts
N7jy4iLnAnTmnGnXzE7ktWZdP6J18GiF1mcbTQ1ayrI03+VprvCEWxTpJkxZBc7ZX9t4jwp7eJBP
9he5JLzu36zMpVNdnCWa2NantOjqJjeQ72fMnj5yPa/3GbdnOGDlgJnvGwo4csq24jwXqYnU2OPx
k2TGV1QnH5PzkDznFQdlTN9+LnUiQa6lPTmZ65eaXdzbPjMxxDOSrFgzE53x3/zGLSRl3n3U3HUs
/5tnbZFnGIUFARM27zY0JNGL...
2006 Aug 31
1
Peculiar validation error: undefined local variable or method 'fieldWithErrors'
Hello all,
I''m submitting a form with the following field -
<%= p.text_field :postcode, {:class => ''inputMedium''} %>
and on submitting the form I am getting this error -
NameError in Property#create
Showing app/views/property/sell.rhtml where line #52 raised:
undefined local variable or method `fieldWithErrors'' for #<Object:
0x1de968>
2006 Nov 11
1
<< does it force a save?
my tests seem to imply that << forces an insert of the parent and child
records in a has_many relationship when both are newly created objects.
for example,
Controller code:
xy=XY.new
pc=PC.new
xy.addPC(pc)
Model code:
Class XY < ActiveRecord....
def addPC(pc)
self.controls<<pc
end
end
where XY has a "has_many" association with PC and PC has a
2007 Oct 24
1
Attachment_fu and observers/emailing
Hi all,
I''m developing a site where a user can upload their CV/resume with a
profile, and am using restful_authentication for this with
attachment_fu to handle the file uploading.
When a user creates their profile/user account, I''ve got an observer
that will email the site admin with a copy of the uploaded CV. My
user_observer looks something like:
class UserObserver <
2008 Mar 06
0
Searching multiple related models
Hi,
I''m interested in some feedback about a solution for searching
multiple related models by columns (as opposed to full-text). A brief
example would be three models with typical has_many relations:
Hotel (name, company)
Room (number, type)
Bed (type, age)
I have a search form that lists the fields for each model with a text
input. Upon submission the search needs to find the results
2009 Apr 19
1
Overriding html generated for submit_tag and selected links
Hi,
Probably something simple, but I''m trying to change my submit_tag and
other buttons to CSS based buttons based on the article at
http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html
Basically this needs the following HTML markup:
<a class="button" href="#"><span>Button Text</span></a>
So, the question is how can
2006 Aug 26
3
order of saving/validating
Hi guys,
I''m trying to do some validation on an image upload. Basically I have
a model, Property, which has_many :property_images. I need to check
that one image has been uploaded at least and so it was suggested I
checked the number of images uploaded -
@property.property_images.count > 0. Makes sense.
I''ve added a validation on my Property model, like -
def