Displaying 20 results from an estimated 1000 matches similar to: "Running the beast forum for the first time"
2008 May 22
3
SOAP client in Ruby/Rails
Hi all. I have a need to build a SOAP client using Ruby and Rails. I''m
accessing a document/literal style SOAP service. I''ve been poring over
documentation (well, there really doesn''t seem to be any, so that''s a
little misleading), blog posts, and outdated tutorials all day, and I
still don''t really have anywhere to begin. Every tutorial seems to
have a
2008 Mar 13
3
scrolling in a <select multiple="multiple"> list
I have a <select multiple="multiple"> list with a fixed height. It
contains several <option> elements that extend well past the viewable
area. I added code that would track which options had been previously
selected so that users could select multiple items without holding the
ctrl key.
I''m storing the previous selections in an array whose index
corresponds with
2008 Aug 30
3
Working with sessions in beast forum
Hey,
I''m designing an app which displays the events near a user in RoR. I''m
using the beat forum to facilitate user management/sessions/etc. I''ve
edited the sessions table in the Beast database to contain a
"session_location" value and what I''d like to do is to set this to the
users location when they log in. This would allow them to change their
2008 Jul 03
6
mysql gem warning on ubuntu
i just deployed my app on ubuntu with passenger.
i installed the mysql gem as follows:
$ sudo gem install mysql
Select which gem to install for your platform (i486-linux)
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation
> 3
Building native extensions. This could take a while...
Successfully installed
2008 Jun 23
2
From Instant Rails 2.0 to Rails 2.1.0 - cache problem
i''m trying to update to rails 2.1 using instant rails, so i can use
the
new cache features, but when i try to use the method
"Rails.cache.write"
in my controller, i get the message
"undefined method `cache'' for Rails:Module (NoMethodError)"
and if i try to set the cache store
("ActionController::Base.cache_store = :memory_store")
in a conf file, i
2008 Jun 23
1
updating to 2.1.0 using InstantRails2.0 - cache problem
hello. i''m trying to update to rails 2.1 using instant rails,
so i can use the new cache features, but when i try to
use the method "Rails.cache.write" in a controller, i
get the error
"undefined method `cache'' for Rails:Module (NoMethodError)"
and if i try to force the cache store to memory_store using
"ActionController::Base.cache_store =
2009 May 05
9
no sql in the controller guideline
hello. i just checked Chad Fowler''s post "20 Rails Development No-No''s"
and
one guideline caught my attention. it says:
"Nothing that looks at all like SQL should go into a controller, view,
or helper."
it really came as a surprise to me as Rails itself seems to go against
such practice by its AR ''conditions'' option, which most of the times
2009 Sep 30
2
What is this view syntax? Old beast forum code...
Hey folks
A long time ago, before i started working at this company, we used a
Beast forum. The beast code (models, controllers and views) were all
just lumped in with our app code, but when we moved to a new version
(about a year and a half ago) the forum section of our site was closed
off (simply by not linking to it anywhere).
I''ve been tasked with resurrecting it, and the first
2008 Nov 23
0
Recent and Popular Posts in Beast Forum
Hi,
so I''ve integrated the Beast forum into my ruby on rails website and
would like to display some of the forum data throughout the website.
Basically, I''d like to list the last 5 posts to a UNIQUE topic, and
also the most popular topics.
I''m sure this wouldn''t be too tough to accomplish but I was wondering
if anyone else had already implemented it so that it
2012 Aug 10
2
Regular Expressions + Matrices
Hi all,
My code looks like the following:
inname = read.csv("ID_error_checker.csv", as.is=TRUE)
outname = read.csv("output.csv", as.is=TRUE)
#My algorithm is the following:
#for line in inname
#if first string up to whitespace in row in inname$name = first string up
to whitespace in row + 1 in inname$name
#AND ID in inname$ID for the top row NOT EQUAL ID in inname$ID for the
2008 Jul 11
4
how to debug using rspec stories
Hello. I just started to use rspec stories. I followed the following
tutorial:
http://www.tomtenthij.co.uk/2008/1/25/rspec-plain-text-story-runner-on-a-fresh-rails-app
So I implemented my story and some of the steps are:
(...)
When "user creates a product" do
post "products/new", :name => @name
end
Then "there should be a product named
2008 May 20
3
[Bug 1466] New: Document that scp follows symbolic links
https://bugzilla.mindrot.org/show_bug.cgi?id=1466
Summary: Document that scp follows symbolic links
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.0p1
Platform: Other
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: bitbucket at
2009 Apr 22
2
what escape or sanitize functions are out there?
i found the following functions or method to escape HTML, URL params, or
Javascript data:
<%= h @ha %>
<%= sanitize @ha %>
<%= u @ha %>
<%= @ha.to_json %>
<%= strip_tags @ha %>
are they more functions or methods to do these things?
and are there alternative ways to do that? thanks.
--
Posted via http://www.ruby-forum.com/.
2009 Dec 11
2
Data
Hi all,
Imagine I have a matrix and the first colum is a list that repeats the same
names, I want to sum the second column on each unique name on first column.
Imagine this:
Pepe 2
Pepe 3
Pepe 4
Jose 2
Jose 5
Manuel 4
Manuel 2
I want to make a new matrix that calculates and recognizes that there are 3
different names ans sum second column. But a priori I don´t know the list of
the different
2009 Feb 18
1
multidimensional scaling with long form data
I have a dissimilarity dataset with the form:
1 1 dissimilarity value
1 2 ...
1 3
1 4
2 2
2 3
2 4
...
I would like to do nonmetric multidimensional scaling with this data, but I
am having trouble using this format. I would like to either find a function
that accepts this format or find a way to easily convert this format to a
matrix for use with existing functions.
Thanks!
2010 Mar 05
2
"\." vs "\\."
Hola a tod@s,
¿alguien me podría clarificar la diferencia entre "\." y "\\." en el siguiente caso? (He mirado ?regex, ?cat, ?Quotes y FAQ 7.37 y no lo acabo de ver)
> a<-"hola.me.llamo.pepe"
> a
[1] "hola.me.llamo.pepe"
> strsplit(a,"\.")
[[1]]
[1] "" "" "" "" "" ""
2006 Jul 24
9
RadRails with Eclipse
Hi all,
who is using RadRails with Eclipse to create RoR applications?
jsn
--
Posted via http://www.ruby-forum.com/.
2008 Jun 23
12
From Instant Rails 2.0 to Rails 2.1.0
hi,
I have installed Instant Rails 2.0 on my machine which comes with
Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do
gem update rails and It seems to be fine. But when I check the version
of my Rails I get the following message:
>rails -v
C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in
`report_activate_error'': RubyGem version error: activesupport(2.0.2
not
2016 Nov 17
4
BUG: nopassword doesn't work with CRAM-MD5
On Thursday 17 of November 2016, Aki Tuomi wrote:
> On 17.11.2016 10:14, Arkadiusz Mi?kiewicz wrote:
> > Hello.
> >
> > dovecot 2.2.26.0
> >
> > When testing nopassword extra field
> > (http://wiki2.dovecot.org/PasswordDatabase/ExtraFields) with CRAM-MD5
> > dovecot doesn't allow any password (while it should) and returns
> >
> >
2008 Dec 20
5
Calendar icon for date selection functionality
Hello.
I would like to add date selection functionality using a calendar
icon. Is there a tutorial anywhere I could use?
Thanks in advance.
Pepe
--~--~---------~--~----~------------~-------~--~----~
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