Displaying 11 results from an estimated 11 matches for "rial".
Did you mean:
real
2010 May 08
3
Count cases in a list
Hi everybody, I would like to count how many times names in list L,
nombreL, apear in list C, nombreC.
Can I improve the next program?
cuenta <- 0
topL <- length(nombreL)
topC <- length(nombreC)
for (i in 1:topL) {
for (j in 1:topC) {
k <-
grep(noquote(nombreL[i]),nombreC[j])
2007 Oct 03
3
Pagination problem with acts_as_ferret
Hi,
am using this wonderful plugin acts_as_ferret and according to the
tutorial at http://railsenvy.com/2007/2/19/acts-as- ? rial#basic
I worked it out except the pagination feature.
If I have 12 records and I give limit to 10, its correctly displaying 10
records in the first page and is giving the link to the second page too.
But when I go to the next page I find the same 1...
2011 May 22
6
How to capture correctly a specific exception
I a using delayed_job, and I am raising an exception this way :
config/initializers/custom_exceptions.rb
class RemoteLockerException < StandardError; end
class RemoteLockerDenied < StandardError; end
lib/instruction_request_job.rb
class InstructionRequestJob < Struct.new(:style, :request_id)
def perform
....
> connector =
2006 Jul 09
3
acts_as_ferret.. what does it actually do?
...hods (other than the ones in acts as ferret)in my
application. when i try the code at the bottom of this post i get the
following errors (also in full at the bottom of post)
NameError: uninitialized constant BooleanQuery
So this means the rails/ruby/ is not seeing ferret right? so how do i
get rials to be able to see ferret? I have tried many variations on
include/require/ferret_config.rb but am obviously not getting it. Do i
need to do something extra if i want to simplicity of acts_as_ferret and
the power of Ferret?
If anyone out there knows what th eproblem is then please get in touch,...
2009 May 02
10
Problem verifying routing error
Hi,
When upgrading to rspec/rspec-rails 1.2.6 gem (from 1.1.12), I''m having
a new problem verifying routes that should not exist.
This is to support something like this in routes.rb:
map.resources :orders do |orders|
orders.resources :items, :except => [:index,:show]
end
I used to use lambda {}.should_raise( routing error ), but it stopped
detecting any raised error.
2006 Jul 17
2
Port of --prefix to mongrel-service
This patch:
- adds --prefix option to service::install in mongrel-service plugin
- fixes bug with config values merging in the service
- enables gemplugins in the service.
Questions:
- why the load_plugins command was commented out? It seems working for me.
- why bin/mongrel_rails_service and bin/mongrel_rails_svc still in the
main package?
- a lot of code is duplicated in both versions
2003 Dec 04
4
bug in as.POSIXct ?
I think that there is a bug in the as.POSIXct function on Windows.
Here is what I get on Win2000, Pentium III machine in R 1.8.1.
> dd1 <- ISOdatetime(2003, 10, 26, 0, 59, 59)
> dd2 <- ISOdatetime(2003, 10, 26, 1, 0, 0)
> dd2 - dd1
Time difference of 1.000278 hours
Now, the 26th of October was the day that change to the standard time
occurred, so I suspect that this has
2006 Mar 09
5
Newbie - Help Please
I am just getting off the ground with RoR. (actually just walking out to
the runway)
I want to setup a development / test environment as close to the
production environment as possible except for OS (Win XP for Dev, Linux
for Prod).
I have Apache, MySQL, PhP installed and operating close enough to the
production environment that all the PhP stuff I''ve done in the past
seems to work
2007 Dec 10
7
Serious Geek RoR newbie: wishes to know EXACTLY what/where all is installed by packages. Tnx!
[TOP lINE: is there a linux program that will tell me where all the
installed files went?]
Hi all....great to be here... i''m pretty relentless yet very new to
RoR and fairly new to Linux [went with ubuntu 7.10 for the time being
- learing pure Deb and/or Slack/BDS for the future]
anyhooo.. So...
Coming from my highly understood XP install [frankly it feels yuk
these days] i''m
2007 Dec 12
4
Route and patterns
In a wiki, routes are handling
web_index /:web {:controller=>"wiki", :action=>"index"}
web_topic /:web/:topic {:controller=>"wiki", :action=>"view"}
action /:web/:topic/:action {:controller=>"wiki"}
That is the default action is "view".
Two questions:
1. Can I constrain the patterns allowed for
2011 Mar 18
6
Could not find sqlite3
...is where I get this error...
Could not find gem ''sqlite3 (>= 0)'' in any of the gem sources listed in
your Gemfile.
If I do a ''which sqlite3'' I get the following path /usr/bin/sqlite3.
Any help/suggestions would be appreciated.
Installed ----
Ruby 1.8.7
Rials 3.0.5
gem list
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.5, 2.3.5, 1.3.6)
actionpack (3.0.5, 2.3.5, 1.13.6)
actionwebservice (1.2.6)
activemodel (3.0.5)
activerecord (3.0.5, 2.3.5, 1.15.6)
activeresource (3.0.5, 2.3.5)
activesupport (3.0.5, 2.3.5, 1.4.4)
acts_as_ferret (0.4.3)
a...