Mike Montagne wrote:
Abraham Tio wrote:
cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7
gem install mysql --
--with-mysql-config=/usr/local/mysql/bin/mysql_config
Greg Donald
http://destiney.com/
YUP. this works.
newbie question...
I was able to get an error free install on OSX
Hi All,
$rails g controller Pages home contact
then, I go to http://localhost:3000/pages/home
I got
Routing Error
No route matches /pages/contact
How can I fix this problem?
Thanks!
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
On Jun 15, 11:13 pm, Sarah Faulkner sarahfaulkn...@gmail.com wrote:
I'm on Win7
Last time I checked (which is at least 6 months ago now), the RoR
mysql adapter and mysql 5.1 did not play well together on Vista/Win7.
You may want to try version 5.0 before anything else.
--
You received this
Hi all,
i installed rails 3 and how to install rails 2 in the same machine please
help me
thanks
--
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 rubyonrails-t...@googlegroups.com.
To unsubscribe
I have spent most of today trying to make the ajax.Autocompleter work
in a Rails 3 application.
To this point, I can get the autocompleter.local to work, but not the
AJAX version.
The View:
= form_for [:admin, @contact] do |f|
= f.error_messages
%p
= f.label :name_first, First
=
On 15 June 2010 22:41, Jerome Fillioux jerome.filli...@gmail.com wrote:
A totally free linux (Mint based) VirtualBox image, fully configured, with :
I've been very happy using the TurnkeyRails VM
(http://www.turnkeylinux.org/rails) which has a very small footprint.
I use the IDE on my local
or u can use rvm with ree =)
Ivan Nastyukhin
dieinz...@me.com
On Jun 16, 2010, at 2:09 AM, Walter McGinnis wrote:
Homebrew (http://github.com/mxcl/homebrew) is your friend for software
dependencies installation.
Here's a rough guide that gives the process:
Someting like Amazon`s strings, which are generating as url`s.
regards
--
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to
hi
show your routes please
Ivan Nastyukhin
dieinz...@me.com
On Jun 16, 2010, at 10:31 AM, karnati kiran wrote:
Hi All,
$rails g controller Pages home contact
then, I go to http://localhost:3000/pages/home
I got
Routing Error
No route matches /pages/contact
How can I
simplify - u can use rvm or create link to path_to_gems/rails-2.3.8/bin/rails
some thinks like this to /usr/local/bint/rails2
Ivan Nastyukhin
dieinz...@me.com
On Jun 16, 2010, at 11:02 AM, karnati kiran wrote:
Hi all,
i installed rails 3 and how to install rails 2 in the same
Mamadou Touré wrote:
Hello,
Could we have a look on your .rhtml, to make sure that the action that is
triggered by the link is the good one ?
customers/forgotten_password.html.erb: http://pastie.org/1006510
customer_sessions/new.html.erb: http://pastie.org/1006513
--
Posted via
Hi,
I've read a few days ago that rails has a each method that allows you to
speficy the number of iteration. I think the default number was 1000.
What is the name of the method?
myList.each_with_something or myList.each_something
Greg
--
Posted via http://www.ruby-forum.com/.
--
You received
I have a Team class that inherits from a Group class. Both Team and
Groups have memberships through the same association. However, I need
to run a method after a Team memberships is added but not a Group. I
currently have something like this:
class Group ActiveRecord::Base
has_many
does u speak about it ?
http://api.rubyonrails.org/classes/ActiveRecord/Batches/ClassMethods.html
Ivan Nastyukhin
dieinz...@me.com
On Jun 16, 2010, at 12:19 PM, Greg Ma wrote:
Hi,
I've read a few days ago that rails has a each method that allows you to
speficy the number of iteration.
Hey. I'm just getting into RoR and was hoping someone could direct me
to the best learning resources.
P.S.: I took a couple computer sciences courses in university (learned
some Java and C++).
Cheers,
Ryan
--
You received this message because you are subscribed to the Google Groups Ruby
on
What do you have in your routes.rb file to setup the custom route?
http://guides.rubyonrails.org/routing.html
On Jun 15, 11:27 am, Aashish Kiran li...@ruby-forum.com wrote:
hi, can anyone help me. i want to create an url to invoke create action
of a controller. routes.rb has the routes. But i
Yeah, I am working on exactly similar project and using http basic
auth over https.
Though what is the best way to disable cookies and session management
in rails as these are not required
in the above approach.
Thanks
Gopal
On Jun 15, 4:45 am, Rick DeNatale rick.denat...@gmail.com wrote:
On
http://guides.rubyonrails.com/
hi, its will be help u)
Ivan Nastyukhin
dieinz...@me.com
On Jun 16, 2010, at 3:13 AM, Ryan Kneer wrote:
Hey. I'm just getting into RoR and was hoping someone could direct me
to the best learning resources.
P.S.: I took a couple computer sciences courses
On 16 June 2010 09:19, Greg Ma li...@ruby-forum.com wrote:
myList.each_with_something or myList.each_something
Do you mean the each_slice method of enumerable?
http://ruby-doc.org/core/classes/Enumerable.html
--
You received this message because you are subscribed to the Google Groups Ruby
On Jun 14, 6:50 pm, Me chabg...@gmail.com wrote:
I have a yml file with ip info. When I try to do host: Site['name']
['ip'] it is getting interpreted directly and it is saying Bad URI:
Site['name']['ip']
How do I get the database yml to interpret the Site constant? I can
see the hash
Greg Ma wrote:
Hi,
I've read a few days ago that rails has a each method that allows you to
speficy the number of iteration. I think the default number was 1000.
What is the name of the method?
myList.each_with_something or myList.each_something
Greg
You can specify the batch_size as an
Marnen Laibow-Koser wrote:
Bee Dubya wrote:
Hello!
New to ruby on rails, so I hope this isn't a stupid question (great way
to start a post ;)). Basically I'm trying to avoid making a bunch of
different columns in my db table by having my collection_select
concatenate the ID value it
Marnen Laibow-Koser wrote:
the batman wrote:
%= f.label :type %
%= f.select(:type, [original,print,other]) %
I have a photos model and added a drop-down list to the form, when the
option is selected, the correct parameters are passed but it is not
saved to the database.
I've googled this
My fault I did not realized that
My use vase is that I refactored some code as à service object.
That object is a parser and I would like to use the initialize methods
to
simplify the use of instance variables in different methods
As i understand your suggestion it would be ok to call a new
Aashish Kiran wrote:
hi, can anyone help me. i want to create an url to invoke create action
of a controller. routes.rb has the routes. But i am getting error at
line 23. i have @user variable.
user_contact_path(@user.id)
I want generate url as : users/3/contacts to invoke contacts
John Useast wrote:
hi,
I tried to redirect rails to show action by passing controller, action,
and params. However, rails ignores the name of action totally!
what I got is http://mysite/controllername/paramId
def update
@tip = current_user.tips.find(params[:id])
I ran into problem when I wanted to mass assign via the association.
The class of the new object will be of the topclass.
The solution is here:
http://stackoverflow.com/questions/1601739/rails-attr-accessible-does-not-work-for-type
and in your form, use :type_helper
On Jun 16, 1:07 am, gamov
On Jun 11, 11:15 pm, John Useast li...@ruby-forum.com wrote:
hi,
I tried to redirect rails to show action by passing controller, action,
and params. However, rails ignores the name of action totally!
what I got ishttp://mysite/controllername/paramId
With a normal set of restful routes
Vuong Hung wrote:
Hi, everybody.
I am newbie RoR.
I want to get all data from DOM Source of website.
Can you guide me the way to use REXML? I have ready installed lib-xml
library but I only use XML::Parser. I don't understant it.
Thanks a lot and looking forward.
Use Hpricot to
I did the same for XP, I installed 5.0
This link my give some additional help:
http://stackoverflow.com/questions/1557267/mysql-driver-for-rails-in-windows-7-x64
JRuby works without any problem (at least with XP) since is using the
Jdbc adapter, but probably you want to use C Ruby.
The problem
The problem was that customer resource map in my routes file had no
:only option specified. Problem solved.
--
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
Hi
I have a field called cost:
%= f.text_field :cost, :size=2, :maxlength=4 %
I want to check that user enter numeral value and this value is integer
In post.rb (model):
def cost_validate_int
errors.add_to_base(Error message) unless cost.is_a?(Fixnum)
puts ### #{cost}:
Hi All,
I would like your advice. I'm helping a young company set up a ROR team
from entry level to Senior A/P. I've not worked with this tech before so
have some basic questions.
What are your thoughts:
Is this a well exploited technology in Scotland/UK?
What's the typical career path for an
Amar Daxini wrote:
Vuong Hung wrote:
Hi, everybody.
I am newbie RoR.
I want to get all data from DOM Source of website.
Can you guide me the way to use REXML? I have ready installed lib-xml
library but I only use XML::Parser. I don't understant it.
Thanks a lot and looking forward.
Hi all,
I have a problem.
I want to call some function after every 10 minutes. But I don't it.
--
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
Stanislav Orlenko wrote:
Can I in some way check cost value in model (value should be numeral and
integer)?
Thanks in advance!
validates_numericality_of?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails:
Deirdre Shell wrote:
Hi All,
I would like your advice. I'm helping a young company set up a ROR team
from entry level to Senior A/P. I've not worked with this tech before so
have some basic questions.
What are your thoughts:
Is this a well exploited technology in Scotland/UK?
What's
If a CS grad, is it difficult to pick up - how long would you think it
takes to become proficient?
It will be very difficult if you are just a CS grad.
ROR is a framework of whole set of web technologies. So, it will be very
difficult to master it in less than 6 months.
You need a strong web
Vuong Hung wrote:
Hi all,
I have a problem.
I want to call some function after every 10 minutes. But I don't it.
JavaScript functions can be used for this effect in most instances.
Though it depends on which function you want to execute, of course.
--
Posted via
on my knees now :S
Im not comfortable uninstalling everything and installing it from
scratch again. Dont want to lose my existing setup. Pointers from
anyone at all?
On Jun 15, 1:52 pm, Ram yourstruly.vi...@gmail.com wrote:
I also get this warning in the very beginning of the gem install. Does
On 16 June 2010 11:37, Deirdre Shell li...@ruby-forum.com wrote:
I would like your advice. I'm helping a young company set up a ROR team
from entry level to Senior A/P.
Firstly, I'd query why there has been a choice of any technology
platform without anyone of experience to decide? Normally,
PH, Thank you for the reply. I am trying to assess how available A/Ps
will be hence this question. What's API mean here? The company already
use RoR, they are looking for more developers, that's where I have come
in.
Deirdre
Pale Horse wrote:
Deirdre Shell wrote:
Hi All,
I would
Pale Horse wrote:
Stanislav Orlenko wrote:
Can I in some way check cost value in model (value should be numeral and
integer)?
Thanks in advance!
validates_numericality_of?
I use errors.add_to_base because I don't want to show field's name in
the error message(i. e. Cost bla bla bla.
Deirdre Shell wrote:
PH, Thank you for the reply. I am trying to assess how available A/Ps
will be hence this question. What's API mean here? The company already
use RoR, they are looking for more developers, that's where I have come
in.
Deirdre
Firstly, the availability of RoR
I know this is a Ruby question but I'm not on any Ruby mailing lists and
it's for a Rails project (so might come under select_time etc. ;) ) I
thought I'd try here.
A user can choose integer values from select drop down boxes to predict how
long an event will take. Obvious values are secs (0-59),
Yep,
my problems was almost the same! And still not workable with mysql, I
dont know why. Please let me know if you have useful answer!
Thnaks,
gezope
On jún. 15, 23:13, Sarah Faulkner sarahfaulkn...@gmail.com wrote:
Hello --
Please pardon my newness -- I'm just getting started with rails, and
You can install any rails version like this: gem install rails -
v=2.3.8
...and to generate app with specific version do like this: rails
_2.3.8_ app_name
On Jun 16, 10:02 am, karnati kiran karnatikiranku...@gmail.com
wrote:
Hi all,
i installed rails 3 and how to install rails 2 in the same
Neil Bye wrote:
This is my form. It creates a comment in the database but won't pass the
'body' value. I think the problem is passing the variable to javascript.
Can anyone help?
% form_for :comment, :url=story_comments_path(@story), :name =
'form' do |form| %
fieldset
label
Pale Horse wrote:
Greg Ma wrote:
Hi,
I've read a few days ago that rails has a each method that allows you to
speficy the number of iteration. I think the default number was 1000.
What is the name of the method?
myList.each_with_something or myList.each_something
Greg
You can specify
Marnen Laibow-Koser wrote:
There's also in_groups_of.
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
I'd forgotten about that method. In addition, you can
each_slice(integer) to divide an array. Though, 'enumerator' is required
in your Active Record model. I
These values are then converted to seconds and stored as decimal in the DB
(I allow fractions of a second, too (tenth, hundredth, millisecond). when
they are retrieved form the DB, I convert the seconds to a string format of,
for example, 01:39:11 (from 5951 seconds). If fractions are used,
Ok, in my load_config I do this:
Site = YAML.load_file(File.join(RAILS_ROOT, 'config', 'sites.yml'))
Something like this in the database.yml?
host: %= Site['name']['db'] %
On Wed, Jun 16, 2010 at 03:26, Frederick Cheung
frederick.che...@gmail.comwrote:
On Jun 14, 6:50 pm, Me
Can you help?!?!
Are you considering a career move at the moment? Would you be
interested working for one of the world's leading mobile
organisations? Are you looking for a web development role that will
impact millions of people?
I have one of my largest clients, a global mobile
Cascading Drop Down Selection Lists are when the value of a second
drop down are filtered based on the values a first field (usually a
drop down, but could be a radio box, check box or even text)
Select a Country and then State or Province; or Select a Car
Manufacture and then a Car Model.
This
installing in the vendor/plugins (not app ) directory is done with
the use script/plugin
using script/plugin -h will get you full help
generally you install from a known a subversion URL:
plugin install
http://dev.rubyonrails.com/svn/rails/plugins/continuous_builder
or you install a
On 16 June 2010 13:01, Paul paul.tur...@darwinrecruitment.com wrote:
Can you help?!?!
Can you supply some more information before we waste your time with our CVs...
Where is this job? This list has an international membership. Is
telecommuting acceptable?
Is it a permanent or contract job?
On 16 June 2010 15:54, Andy Jeffries a...@andyjeffries.co.uk wrote:
These values are then converted to seconds and stored as decimal in the DB
(I allow fractions of a second, too (tenth, hundredth, millisecond). when
they are retrieved form the DB, I convert the seconds to a string format of,
If you have two floating point values representing seconds (and parts of)
why can't you just compare the two floating point values?
What part are you stuck with? Can you give us some code with a comment on
which bit you can't do.
I don't have a problem with comparing floats, but I might
On 16 June 2010 15:51, Ants Pants antsmailingl...@gmail.com wrote:
I don't have a problem with comparing floats, but I might need to find the
10 closest times to the actual event time and 4 of those times could be less
than the actual event time and 6 could be higher.
As a starting point, IIWM
On Wed, Jun 16, 2010 at 12:52 AM, JuKuen mario...@abv.bg wrote:
Someting like Amazon`s strings, which are generating as url`s.
I still have no idea what you're talking about.
Maybe you could provide an actual example, or explain what goal you
are trying to achieve?
--
Hassan Schroeder
Easiest would be to make the select a partial and update the partial
based on the object sent to the query. You make an ajax call when an
item is selected, query the db, replace the select you want to update
with the partial with the items scoped for the parent object.
On Jun 16, 9:11 am, Ian
Try the book Agile Web Development with Rails. If you go through the
tutorial you will have a foundation.
On 6/15/10, Ryan Kneer kneer.comm...@gmail.com wrote:
Hey. I'm just getting into RoR and was hoping someone could direct me
to the best learning resources.
P.S.: I took a couple computer
Vuong Hung wrote:
Hi all,
I have a problem.
I want to call some function after every 10 minutes. But I don't it.
Please provide more detail. Are you asking about server-side or
client-side?
If you are asking about server-side there are options like delayed_job:
If you are new to Ruby too, don't forget to take a look at The Well
Grounded Rubyist. It's an awesome book.
2010/6/15 Ryan Kneer kneer.comm...@gmail.com
Hey. I'm just getting into RoR and was hoping someone could direct me
to the best learning resources.
P.S.: I took a couple computer
Update for anyone that needs help in this area. I found my problem. You
might have to do the same (if you are using this function the way I am).
In my controller, I don't know why I put this in the Index action
before. It is now in the SHOW (duh) action:
format.js {
render(:update)
I have a module as shown below and when I extend an active record to
use it, I can not access the
primary_key method. In a simple test program using a similar approach
where active record is not involved, access to the class methods seems
to work ok. What can I do to make this work or so that I
On 16 June 2010 16:57, Michael Pavling pavl...@gmail.com wrote:
On 16 June 2010 15:51, Ants Pants antsmailingl...@gmail.com wrote:
I don't have a problem with comparing floats, but I might need to find
the
10 closest times to the actual event time and 4 of those times could be
less
than
oops, I needed to do
self.primary_key = 'something'
On Jun 16, 11:43 am, Jedrin jrubia...@gmail.com wrote:
I have a module as shown below and when I extend an active record to
use it, I can not access the
primary_key method. In a simple test program using a similar approach
where active
oops, I needed to do
self.primary_key = 'something'
On Jun 16, 11:43 am, Jedrin jrubia...@gmail.com wrote:
I have a module as shown below and when I extend an active record to
use it, I can not access the
primary_key method. In a simple test program using a similar approach
where active
On Tue, Jun 15, 2010 at 1:41 AM, Ram yourstruly.vi...@gmail.com wrote:
Ive got Mac OS X Leopard (10.5.8), ruby 1.8.6 (2009-06-08 patchlevel
369) [universal-darwin9.0] and mysql 5.0.67 installed and working fine
with Rails 2.1.0.
Im trying to upgrade my Rails apps to 2.3.5 but when i try to
On 16 June 2010 16:45, Ants Pants antsmailingl...@gmail.com wrote:
As I have said before, I have no problems with all of that but thanks for
the suggestions.
To be honest, I don't really understand what you're asking for help
with. If you can state your position in different terms, because what
On 16 June 2010 09:40, Pale Horse li...@ruby-forum.com wrote:
Marnen Laibow-Koser wrote:
the batman wrote:
%= f.label :type %
%= f.select(:type, [original,print,other]) %
I have a photos model and added a drop-down list to the form, when the
option is selected, the correct parameters are
On 16 June 2010 11:34, Stanislav Orlenko li...@ruby-forum.com wrote:
Hi
I have a field called cost:
%= f.text_field :cost, :size=2, :maxlength=4 %
I want to check that user enter numeral value and this value is integer
In post.rb (model):
def cost_validate_int
The idea is generating url`s which will hide what is the database used
to store the information and hiding the server side language wrapper.
example:
Did you find a solution to this? I just hit this myself last night and
have spent a few hours trying to find an answer.
--
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,
On 16 June 2010 17:28, JuKuen mario...@abv.bg wrote:
The idea is generating url`s which will hide what is the database used
to store the information and hiding the server side language wrapper.
What do *your* URLs look like now that gives away the DB and
server-side language?
--
You received
On 16 June 2010 18:07, Michael Pavling pavl...@gmail.com wrote:
On 16 June 2010 16:45, Ants Pants antsmailingl...@gmail.com wrote:
As I have said before, I have no problems with all of that but thanks for
the suggestions.
To be honest, I don't really understand what you're asking for help
On Jun 16, 2010, at 9:28 AM, JuKuen wrote:
The idea is generating url`s which will hide what is the database used
to store the information and hiding the server side language wrapper.
example:
Let me know if you figure this out - I'm having the same problem.
-- Garth
--
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email
In rails app, I add the following line of code in application.js and I
get jQuery is not defined in firebug console.
In application.html.erb, I have the following:
script type=text/javascript
src=../javascripts/application.js/script
script type=text/javascript
There are some wonderful guides out there for this. Rails works great
out-of-the-box on OS X.
Out of the editors I've used, I believe textmate is the best. It's
visually pleasing and very extensible. It also is the text editor seen
in the famous Rails Casts from 37Signals. http://macromates.com/
Does anyone have a step by step instruction on how to remove prototype
completely so jQuery works? The jRails plugin seems to make them work
together. I want to remove prototype as I will never use it.
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
Hi:
I just want share for every body here how to upgrade your application
from rails 2 become rails 3, like i did before. I hope it will be useful
for you guys, any question or advice please post here :
http://www.reinhartlab.com/2010/06/how-to-upgrade-to-rails-3-of-your-old.html
Reinhart
--
For example, I want a href='link' rather than a href=link
I want to maintain consistency with style.
Can this be done?
Also, I am trying to use Rails 3.0.
Sharkie
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on
On 16 June 2010 18:51, Sharkie Landshark li...@ruby-forum.com wrote:
For example, I want a href='link' rather than a href=link
I want to maintain consistency with style.
You want to change the correct (according to the xhtml guidelines)
double-quotes, to incorrect single quotes?
Wouldn't it
Actually stepcarousel.js which uses jquery is working in the application
so I don't think there is a conflict with prototype. However I still get
the error jquery is undefined.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
Hi folks,
I'm getting the following error while trying to start the Webrick serve
on a old project that I just checked out from our svn. Could you tell me
what's wrong ?
ruby/lib/ruby/site_ruby/1.8/rubygems.rb:270:in `activate': undefined
method `map' for nil:NilClass (NoMethodError)
--
Posted
Mamadou Touré wrote:
Hi folks,
I'm getting the following error while trying to start the Webrick serve
on a old project that I just checked out from our svn. Could you tell me
what's wrong ?
ruby/lib/ruby/site_ruby/1.8/rubygems.rb:270:in `activate': undefined
method `map' for
John Merlino wrote:
Does anyone have a step by step instruction on how to remove prototype
completely so jQuery works?
Sure:
1. Remove public/javascripts/prototype.js.
2. There is no step 2.
The jRails plugin seems to make them work
together. I want to remove prototype as I will never use
First, try:
script type=text/javascript
src=/javascripts/application.js/script
Instead of
script type=text/javascript
src=../javascripts/application.js/script
Else:
javascript_include_tag :all
You can set :recursive = true if you want Rails to search all
subdirectories of
Hi,
I'm making my first Rails project and I'm using the simple_form gem
(version 1.0) with a Rails app (version 2.3.5). simple_form repository
v=1.0
Is there any way to implement the nice
options :wrapper_tag, :wrapper_class, :wrapper_error_class ? Or maybe
I'm missing something? :-D
Thank you
Sharkie Landshark wrote:
For example, I want a href='link' rather than a href=link
I want to maintain consistency with style.
Can this be done?
Also, I am trying to use Rails 3.0.
Sharkie
I would not recommend using single quotations over double. One argument
against using single
Pale Horse wrote:
Sharkie Landshark wrote:
For example, I want a href='link' rather than a href=link
I want to maintain consistency with style.
Can this be done?
Also, I am trying to use Rails 3.0.
Sharkie
I would not recommend using single quotations over double. One argument
Marnen Laibow-Koser wrote:
That's not true. The OP seems to be talking about the quotation marks
in the generate HTML, not in the Ruby source code.
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
It would appear I've been misguided.
--
Posted via
On Wed, Jun 16, 2010 at 2:39 PM, Pale Horse li...@ruby-forum.com wrote:
If you want consistency, consistently use double quotations.
Always using double quotes causes every string to be interpolated,
often when not required. Single quoted string are not interpolated,
saving CPU cycles.
I also run into the same error when running Spec tests that trigger
Observers, which trigger DelayedJobs.
The full stack trace:
ruby-1.8.7-p249/lib/ruby/1.8/yaml.rb:391:in `emit'
ruby-1.8.7-p249/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
ruby-1.8.7-p249/lib/ruby/1.8/yaml/rubytypes.rb:15:in
On 16 June 2010 21:01, Greg Donald gdon...@gmail.com wrote:
On Wed, Jun 16, 2010 at 2:39 PM, Pale Horse li...@ruby-forum.com wrote:
If you want consistency, consistently use double quotations.
Always using double quotes causes every string to be interpolated,
often when not required. Single
I have a 'Circuit' table, and a 'Glue' table to perform a many-to-many
join on the circuit records, such at a circuit can have many subcircuits
(its component parts) and many supercircuits (circuits which it itself
is a part of).
has_and_belongs_to_many :subcircuits,
:class_name = Circuit,
Toby Rodwell wrote:
I have a 'Circuit' table, and a 'Glue' table to perform a many-to-many
join on the circuit records, such at a circuit can have many subcircuits
(its component parts) and many supercircuits (circuits which it itself
is a part of).
In other words, you have a hierarchical
Hi!
Is it safe to run phusion passenger with all apache kinds of MPM?
regards
--
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
1 - 100 of 108 matches
Mail list logo