cross this before, nor has a skim through the Rails code
given me any indication of how I'd change the migrations path if I wanted to!
Thanks,
Andy
Reproducible steps:
$ rails -v
Rails 4.2.6
$ rails new civo-test
[...]
Bundle complete! 12 Gemfile dependencies, 55 gems now installed.
Use
By default rescue only matches StandardError. If you are getting another
type of Exception then your usage of rescue will not be sufficient to
handle it. You will need to use the multiline form of begin/rescue.
```
begin
ActionView::Template.new("Test <% if Crash %>", "inline template",
handl
Railscasts is now premium content. Perhaps you could provide a bit more
context.
http://railscasts.com/episodes/114-endless-page-revised?view=asciicast
As a User Experience side note, please be sure that infinite scroll is
appropriate. Depending on the goals of your user it can be a frustrating
As Norbert suggests this is a User Agent (browser) feature. Have a look at
these configurations for linux/chrome and linux/firefox.
http://askubuntu.com/questions/124759/customize-ubuntu-for-a-library-internet-kiosk
On Tuesday, October 6, 2015 at 4:38:35 PM UTC-4, Norbert Melzer wrote:
>
> Kiosk
Oh wow, thanks, super interesting.
So the issue is that the same file gets autoloaded twice... I see. Thanks
so much man. Yeah will check out that article, really appreciate the answer.
So as you said this *shouldn't* be an issue in production since as you said
rails will eager load everything.
, Xavier Noria wrote:
>
> On Wed, Feb 4, 2015 at 12:12 AM, Andy Rose > wrote:
>
> Hey guys, I posted this on Stackoverflow but it's not getting much love.
>>
>> Note in the question that I've found a solution to my problem. However
>> I'm curious as to
Hey guys, I posted this on Stackoverflow but it's not getting much love.
Note in the question that I've found a solution to my problem. However I'm
curious as to what is going on here. Why does Rails encounter a race
condition when auto-loading an ActiveRecord model association...?
http://stack
This is not really documented anywhere, and tracing through the source is
difficult. Within Rails the string inflector methods #classify and
#underscore are used to go between snake-case names and camel-cased class
and module names.
http://api.rubyonrails.org/classes/ActiveSupport/Inflector.htm
It's an error on heroku side
V:\>heroku status
=== Heroku Status
Development: yellow
Production: No known issues at this time.
=== Elevated rate of CLI/Toolbelt errors 2014/07/22 09:22:22 (~ 1h+)
2014/07/22 10:52:27 (~ 26m ago) investigating We are still
investigating the T
oolbelt errors. W
Reinstalling the heroku toolbelt does'nt solve the problem.
But installing on a new machine works!
--
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 unsubscribe from this group and stop receivi
I have the same problem.
But no solution yet.
Any news from your side?
--
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 unsubscribe from this group and stop receiving emails from it, send an
ons" where
requests have to come back to the same backend server.
Hope this helps.
Cheers,
Andy
*Andy Jeffries* Ruby on Rails, RubyMotion, jQuery Developer & Taekwondo 6th
Dan Instructor
andyjeffries.co.uk +44 7939 164853 @andyjeffries
<http://twitter.com/andyjeffries>
Yes, Engines are considered part of the framework level rather than the
application level. If I developed an engine and released it as a gem, you
wouldn't want my lines littering your application stack trace, right?
Cheers,
Andy
*Andy Jeffries* Ruby on Rails, RubyMotion, jQuery Deve
ces one has to be careful that one is seeing a real
> effect, which apparently you were, so that is all right.
>
Doh, fair point, thanks for catching that :-)
Cheers,
Andy
*Andy Jeffries* Ruby on Rails, RubyMotion, jQuery Developer & Taekwondo 6th
Dan Instructor
andyjeffries.co.uk
On 17 March 2014 15:32, Colin Law wrote:
> Did you try swapping the two lines round and checking that the result
> is consistent?
>
Yes, it's consistent for me. Was it not for you or are you just asking?
Cheers,
Andy
--
You received this message because you are subscribed
xample)
without braces. I'd much rather have the almost unmeasurable wastage than
risk a bug.
Cheers,
Andy
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emai
http://whichdigital.github.io
If anyone has any questions or runs in to any problems with it, let me know.
It was mentioned on Ruby 5 this week, so grateful if anyone likes it and
fancies tweeting/blogging about it...
Cheers,
Andy
--
You received this message because you are subscribed to the Google G
The problem seems to be the name of the action, "test", and nothing to
do with printers at all. Any action that starts "test" seems to be
affected, though I am still not sure why.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google G
I am in the process of upgrading from Rails 3 to 4. Whenever I run a
test I always get two errors like this:
Capybara::Rails::TestCase#test_printer_url:
ActionController::UrlGenerationError: No route matches {:action=>"test",
:controller=>"printers"} missing required keys: [:id]
If I test all my
On Fri, May 24, 2013 at 8:07 AM, Aashish Kiran wrote:
> Hi,
> I am testing views. I dont understand why stubs are not working.
> Can anyone help.
>
> view code :
>
> before(:all) do
> @current_user = stub("User")
> assigns[:message] = @current_user
> end
>
> output:
> NoMethodError:
>
Recently a particular Rails app I'm working with began to auto-generate a
file app/assets/stylesheets/config.rb. It looks similar to a Compass
configuration file, but this app does _not_ use Compass.
I've found a couple threads about this, but so far no answers.
http://stackoverflow.com/question
On Thursday, July 12, 2012 12:37:33 PM UTC-4, Walter Lee Davis wrote:
>
>
> On Jul 12, 2012, at 12:30 PM, Jean-Sébastien D. wrote:
>
> > Walter Davis wrote in post #1068458:
> >> On Jul 12, 2012, at 11:18 AM, Jean-Sbastien D. wrote:
> >>
> >>> rake db:rollback MMDDHHMMSS_model.rb
> >> I do
On Thursday, July 12, 2012 12:01:15 PM UTC-4, Colin Law wrote:
>
> On 12 July 2012 15:37, Andy Chambers wrote:
> >
> >
> > On Thursday, July 12, 2012 3:03:25 AM UTC-4, Colin Law wrote:
> >>
> >> On 11 July 2012 01:39, Andy Chambers > wrote:
>
On Thursday, July 12, 2012 3:03:25 AM UTC-4, Colin Law wrote:
>
> On 11 July 2012 01:39, Andy Chambers > wrote:
> > Hi,
> >
> > I'm trying to build a simple performance test on a rails 3 app that
> operates
> > on a large database (~150GB). We copy
Hi,
I'm trying to build a simple performance test on a rails 3 app that
operates on a large database (~150GB). We copy production data to our
dev/test setup every night so that we have a realistic environment for
development.
I followed the guide on creating a test and tried to run it using
I have a Rails 2 project in which models are in sub-folders, but not in
a name space
app/models/sub_folder/posts.rb
class Post < ActiveRecord::Base
end
The controllers are also in sub-folders, but are name spaced (views also
in a corresponding sub_folder).
app/controllers/sub_folder/posts_contr
hin 30
minutes. Another idea is to create a new table Reserved that has_one
reserved Order. When the order is processed or time runs out the Order
referenced by Reserved is inactivated.
Please let me know what your advice is.
Thank you in advance.
Best,
Andy
ActiveRecord::Schema.define(:ve
I've also just tried upgrading JSON to 1.6.0 (as that's the version that seems
to be installed if I do gem install json), same problem.
Cheers,
Andy
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this
3.1.0)
if there is an entry in serialized_attributes for a given attribute name (with
a value put in to the coder variable) it calls coder.dump with the attribute
value.
So, I can't understand why JSON wouldn't work as a second parameter...
Cheers,
Andy
--
You received this message becau
method on the class so it should be acceptable as
the serializer.
Is this article incorrect or my understanding of it?
Cheers,
Andy
--
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 ru
method `read' for nil:NilClass
from
/Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/whiny_nil.rb:48:in
`method_missing'
from
/Users/andy/Code/FakePlatform/vendor/gems/Darwin/gems/json-1.4.6/lib/json/common.rb:286:in
`load'
from
/Users/andy/.rvm
#x27;go_to_external'
end
end
This is an action that does a redirect to an external website:
class SomeController < ApplicationController
def go_to_external
#should not be caught by the some_controller route, but is caught by
it.
redirect_to "https://example.com";, :sta
remote working. The
right candidate doesn't need to speak German as our company language is
English so fluency in English is the only language requirement.
Many thanks
Andy
-- Forwarded message --
From: Andy Clayton
Date: Wed, Jun 1, 2011 at 2:50 PM
Subject: ROR Developer posi
love to hear from any ROR developers
who are seeking a new challenge.
I look forward to hearing from you.
Kind Regards
Andy Clayton
--
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 r
I'm looking for an freelancing webmaster who can help me with an
extremely interesting advertising start-up and work with 3 other
programmers to make a site for a start-up.
We are using Ruby on Rails for this website.
Email achang...@gmail.com if interested.
--
You received this message because
h or koala (or any other facebook
API connection) with this devise+mongoid+omniauth base would be
greatly appreciated.
Best,
Andy
--
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
For example:
Currently I have:
functions < functions_competencies < competencies
exams < exam_competencies < competencies
I'd like to dry up "functions_competencies" and "exam_competencies" by
using a polymorphic association, by let's say 'attached_competencies':
functions < attach
Unfortunately that's not going to work either.
I really need to process these either in my Rails app or through a 3rd
party service.
Anyone know of any SaaS or web services that would do this?
Thanks
On Nov 29, 11:55 am, Walter Lee Davis wrote:
> On Nov 29, 2010, at 10:49 AM, An
*I also uninstalled i18n 0.5.0 leaving i18n 0.4.2 to get everything
working...
Andy
--
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
Same just happened to me on Ubuntu 10.04 using RVM.
Anyways, my theory at the moment is they just released i18n 0.5.0 and
gem install rails installed 0.5.0 and mail gem requires i18n version
0.4.x.
Here's the entire painful process of getting it working.
abarrin...@andys-dev-box:~$ gem install
gem
>
> >http://code.google.com/apis/gdata/articles/gdata_on_rails.html
>
> > b
>
> > On Nov 22, 10:31 pm, Andy wrote:
>
> > > Does anyone know of any gems or plugins that can take a PowerPoint and
> > > create images out of every slide and also acces
Does anyone know of any gems or plugins that can take a PowerPoint and
create images out of every slide and also access the text in each
slide?
--
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 rubyonrai
I have this in my application.rb:
private
def log_error(exception)
super
UserMailer.error_message(exception,
clean_backtrace(exception),
session.instance_variable_get("@data"),
params,
request.env
).deliver
end
I'
perspective what the community
was experiencing.
Thanks,
Andy
--
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, sen
try this:
gem install mongrel_service --platform i386-mswin32
--
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 rubyonrails-t...@googlegroups.com.
To unsubscrib
Found the solution:
https://rails.lighthouseapp.com/projects/8994/tickets/4063-rails-30-beta1-send_file-with-0-byte
On Sep 9, 6:59 pm, Andy wrote:
> I'm starting to narrow down the problem.
>
> The files are being created in the "/tmp" folder.
>
> But
tOS server I configured myself (rather than a Rails
host like EngineYard) so I'm guessing it's some sort of server
issue.
On Sep 9, 5:29 pm, Andy wrote:
> I'm trying to use the Rails3 Simple Captcha version from
> here:http://github.com/galetahub/simple-captcha
>
> It'
I'm trying to use the Rails3 Simple Captcha version from here:
http://github.com/galetahub/simple-captcha
It's working 100% fine on my local environment.
In Production, I had to point the "convert" command to the correct
directory and then reinstall ImageMagick with the FreeType lib.
Now I'm not
find any documentation anywhere that describes how to do this.
Anyone know any resources or know how to do this?
Thanks,
Andy
--
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...@g
Can anyone recommend a good gem or plugin for autocomplete in Rails 3
that only needs jQuery?
I need to search multiple fields and multiple objects and display them
in a clickable auto-complete list.
Would it be best to just build this myself?
--
You received this message because you are subsc
Anyone have any recommendations for Rails hosting in Canada? It needs
to be solid hosting, on the level of EngineYard and Blue Box Group.
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 rubyon
ROR Developer opening in Texas.
Relocation expenses paid for. Direct - permanent employment.
Opportunity to join an exceptional development team. Exceptionl
benefits and training. Flat organization model. Desire energetic
opinions. Agile environment.
ROR Dev will design and develop new aut
class LoginController < ApplicationController
def addprod
@category=Cattab1.find(:all)
@product=Prodtab.find(:all)
@i=0
@checkvalue=""
end
def login
@logincheck =Login.new
@prodcheck=Prodtab.new
if(session[:login_id])
Login.update(
It's a generator, but it comes up with quite nice 37 Signals style admin
interfaces.
http://github.com/andyjeffries/andy_admin
Cheers,
Andy
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company n
Hoptoad
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 5452840
On 28 July 2010 11:26, Pale Horse wrote:
> Ideally, what I need is a method of rescuing ALL errors that can occur
>
Sorry, no idea.
(just to let you know that you're not being ignored it's just likely that
no-one has an answer for you, this generally works fine for me).
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Hert
r the last file if you
list multiple stylesheets in stylesheet_link_tag).
That way browsers can cache it long term and it will automatically change if
you change one of the files during a new deployment.
Cheers,
Andy
--
You received this message because you are subscribed to the Google Groups &quo
cript/generate scaffold User login:string password:string
> first_name:string last_name:string
>
Cheers,
Andy
--
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...@googleg
inane questions - but my experience with RoR is zero!
>
I'm sure we'll all help you on here. Providing you post detailed questions
(including any error messages, what you've tried etc) you're bound to get
helpful answers.
Cheers,
Andy
--
You received this messag
environment it):
Paperclip.options[:image_magick_path] = '/foo/bar/bin/'
Cheers,
Andy
--
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 un
Frederick Cheung wrote:
> On Jul 20, 3:57�pm, Andy Joel wrote:
>>
>> test_setup does get invoked, so the file is being processed. I am
>> guessing that somewhere there is another setup method that takes
>> priority, but where would it be, and why does it take priori
I have a bunch of unit test files in a Rails project. One of them has
stopped using the setup method before each test, or even if I invoke it
in the test itself.
After commenting out most of it, here is what is left:
require 'test/test_helper'
class GlcTest < ActiveSupport::TestCase
def setup
git
>
> I get the following:
>
> -bash: /usr/local/bin/brew: /usr/bin/ruby: bad interpreter: No such file
> or directory
>
Wow! That is weird. Where is your Ruby? On Mac OS X Ruby is available by
default at that location:
$ which ruby
/usr/bin/ruby
Try running which ruby in
ing to remember to start the
server
3) Prefer to host as much as possible on the same technology (Apache,
Passenger, MySQL is much better than Mongrel/SQLite even if you develop on
Mac OS X and deploy on Linux).
I know I do (all of the above).
Cheers,
Andy
--
You received this message
l -fsS http://gist.github.com/raw/323731/install_homebrew.rb)"
Then you can install Git using:
brew install git
Cheers,
Andy
--
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 rubyonrail
er at the
end).
http://www.example.com/users/show/1
Will map to the show actions of UsersController passing in a params[:id] of
1.
And, in the last statement, what are we exactly saying?
>
That the / (http://www.example.com/) should go to the HomeController class's
index action (as index is t
>
I've been meaning to put together a screencast sometime on it, but to be
honest, it's very simple - just following the README should get you up and
running. I won't get chance to do a screencast today, but I'll try to do it
this week if I get a chance.
Cheers,
Andy
--
Yo
Or as another example:
http://github.com/andyjeffries/andy_admin
:-)
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 5452840
On 18 July 2010 08:25, Abder-Rahman Ali wrote:
> I th
>
> > Welcome to dynamic objects and classes :-)
> Thanks. This restores my faith in Rails and enhances my appreciation
> of newsgroups, especially this one.
> Now I've got to put them to use!
>
Good luck.
Post back if you have any more problems.
Cheers,
Andy
--
n memory only at runtime.
Welcome to dynamic objects and classes :-)
Try using script/console to execute them.
Cheers,
Andy
--
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..
27;s time. I've had a lot of
success with that in the past.
Cheers,
Andy
--
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 thi
line. Something like
>
> You probably want ".detect"
> http://ruby-doc.org/core/classes/Enumerable.html#M003123
>
>any_bot_follower = followers.detect(false) { |f| f.bot? }
>
Or Enumerable#any?
http://apidock.com/ruby/Enumerable/any%3F
any_bot_follower = follo
u'd have to redo
the work.
Cheers,
Andy
--
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
rubyonrails-tal
in Frederick's mouth, but it simply means that it's
ridiculously quick to build up the conditions object in Ruby compared to
actually executing the SQL on the database (and communicating the SQL and
response over the socket).
Cheers,
Andy
--
You received this message because you are s
seem to be multiple posting the same question, phrased
slightly differently without reading responses.
Cheers,
Andy
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 5452840
On 16 July 2010 11:53,
) and action(index) name from url.
>
http://guides.rubyonrails.org/routing.html
If you look at section 2.3 of that document, it shows how to map '/login' to
what would be '/sessions/new'.
Cheers,
Andy
--
You received this message because you are subscribed to the Google Groups "Ruby
o
ture tests using Cucumber to old
Test::Unit tests.
Cheers,
Andy
--
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
Good catch Hassan
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 5452840
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" grou
>
> this his the generated code from my haml code
>
>
> Anglais option>
> Français
> Allemand
>
>
> but I get a JS error
>
> this.form is undefined
>
> what did I missed ...
>
The onchange event is on the tag, so "this" is a form and doesn't
have a ".form" method. Try doing:
http://groups.goo
ther)
>
As a Mac OS X user I don't particularly care about which distro to use (so I
had no intention of making it a flame war), I was just trying to point out
that it's not that hard :-)
Cheers,
Andy
--
You received this message because you are subscribed to the Google Groups &qu
ere may be a better way with Restful_authentication and you'll need to
find out the param names you need to change the values for, but that may
point you in a direction to get it working...
Cheers,
Andy
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registe
eferred language in the
headers (Accept-language) so you can use that by default. I can't remember
if I18n.locale uses that (or just the system locale).
Finally, your default_url_options is only used when generating urls for
links using url_for and related functions - it doesn't set it as
nstall rails passenger
Configure Passenger as normal.
What's hard?
Cheers,
Andy
--
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
$ irb
> class MyHash < Hash ; end
=> nil
> h = MyHash.new
=> {}
> h.is_a? Hash
=> true
Cheers,
Andy
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 5452840
I'd recommend starting here...
Episode 141: PayPal Basics<http://railscasts.com/episodes/141-paypal-basics>
Cheers,
Andy
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 545
On 7 July 2010 01:25, Skip Levens wrote:
> Props to Andy's solution - thats pretty awesome... hopefully not
> everyone needs that!
>
Thanks Skip and I agree with your hope.
There are so many weird things I've done on this project, it's been a
great/interesting exper
on stopping crackers, but
sysadmins that "knew some ruby".
> Add to that bonus nasties like directly frobbing the core of a running
> VPS instance from the hypervisor, and you're back in security hell
> again.
>
They're not using VPS/hypervisors.
Cheers,
Andy
--
Yo
a location where the client has
> access.
>
Indeed, finding them in memory. I believe though that the requirement is to
stop casual looking/tampering by the company's sysadmins rather than to stop
a dedicated expert cracker.
Cheers,
Andy
--
You received this message because you ar
mins or
> are you trying to hide it from the client?
>
The first option :-)
Cheers,
Andy
--
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 unsu
On 6 July 2010 11:31, Michael Pavling wrote:
> On 6 July 2010 11:19, Andy Jeffries wrote:
> > You can do this (I've had to do it for a client) but it's not simple
> >
>
> Very interesting approach. Will file that for future reference.
>
I hope you never n
t to zero so the last child never dies.
I would however, recommend against doing this - server security and not
giving out the username/password is far and away the best solution. I work
in a specific industry in a country with a lot of security requirements so
had no choice - but it's a solution an
ust
have found the Page object using some code, assign that to @current_story.
A variable from the session? @current_story = session[:current_story].
We need a lot more information to be able to help. @current_story is an
instance variable, but there's no information on what you're expe
We're actually looking for currently UK located developers.
Thanks anyway,
Andy
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 5452840
On 26 June 2010 08:21, ratnamraj varasala
want a chance to switch or having been using Rails for a while but
haven't been able to prove yourself, get in touch.
* No telecommuting
* Salary is early to late £20Ks depending on experience.
Cheers,
Andy
--
You received this message because you are subscribed to the Google Groups &
I'm
assuming you're not just working on a single Rails site and just do "rails
s" or "script/server" when you need it up (I have locally running websites
available all the time).
Cheers,
Andy
--
You received this message because you are subscribed t
Look in your log file (your_app/log/*.log) - the error will be detailed in
there.
Also, it seems from the error message you're running in production mode, you
should really switch to development then you'd see the full error message in
your browser.
Cheers,
Andy
--
Andy Jef
to it, but I don't
> want to re-invent the proverbial wheel.
>
This seems a fairly simple wheel to be worried about re-inventing though (or
even to look forward to).
OK, so you have an array of times. You sort through them based on:
(predicted_time - actual_time).abs
and pi
conds (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.
Andy
--
You received this message because you are subscribed to the Google Groups "Ruby
on
cally on a Mac? Apologize for the v
> basic question. :-)
>
As I said, you already have Rails and Apache ready to go. You need to
install MySQL (or use sqlite in development) and that's it. I personally
use TextMate, but RubyMine looks awesome if you don't mind the lag for
Java-bas
rake db:seed RAILS_ENV=test
--
Andy Jeffries
http://andyjeffries.co.uk/ #rubyonrails #mysql #jquery
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS
Company number: 5452840
On 4 June 2010 15:31, Ramos wrote:
> I am seeding my environment for testing, but I am doing it upon
1 - 100 of 299 matches
Mail list logo