Displaying 20 results from an estimated 100 matches similar to: "Is there a guide for using ERBSQL?"
2006 Mar 02
5
Instiki and SQL Server??
Hello. I reeeeally want to get Instiki running at my day job, but they
are Microsoft-heads. While I can probably sell them on trying Rails,
they are definitely going to want the database to sit in our SQL Server
instance with our other databases. I can''t get instiki to create the
tables in sql server though (I''ve added ADO.rb, and gotten a
connection). When I run the
2005 Jul 18
1
scripts/create_db
I have been installing rails. I got through the //localhost:3000
information. At that point, I figured I need an app and have been
working on salted hash login. I found
http://wiki.rubyonrails.com/rails/show/SaltedLoginGeneratorQuickstart
and worked through to where I want the create the db tables. Instead, I get
script/create_db
-bash: script/create_db: Permission denied
[root@astarcc
2005 Dec 15
1
Rails Gem Not Installing Properly?
Hey guys,
I get a very strange behavior when I attempt to install the Rails gem
on my server:
[root@hotaces local]# gem install rails --remote
Attempting remote installation of ''rails''
Successfully installed rails-1.0.0
Normally it asks if I want to include dependencies etc. etc. This
appears to be instant but then when I try to use the rails command it
is not there. I
2006 Jan 15
7
Dreaded Internal 500 Error on DreamHost.
Hey guys,
I often get this problem the first time I try to deploy a rails app
on dreamhost and I''m not sure what the cause is. Basically, I have
an app that''s running fine on my local machine. I''ve uploaded the
app, configured and migrated to the latest version of the db, and set
all of the necessary directories to 755. But when I run dispatch.rb
in ssh or
2005 Dec 14
3
Advanced routing question.
Hello All,
I''m making a quick application that tracks outgoing links to referral
sites. I need to track the user and the url they went to so the
easiest way would be to take the entire url as a parameter and log
that into the database. I was wondering if I could do something like
this with routing:
http://www.example.com/user/jump/http://www.myvendor.com/referral.php?
2006 Feb 10
4
Handling a relationship between users and newsletter subcriptions.
Hey Everyone!
I have a newsletter system that contains a multitude of different
newsletters. In this case three but the system allows the user to
add more. Every user can be subscribed to any amount of given
newsletters. So what I did was I created a user model, newsletter
model, and subscription model.
The subscription model belongs to one user and one newsletter.
However,
2007 Oct 02
2
Requires from other modules / requires with aliases
Hi everyone, I''ve been working on a module for bacula, and I''m having
a problem requiring resources I''ve defined in other modules. At the
moment, I have the following (simplified):
/etc/puppet/modules/bacula/manifests/init.pp:
class bacula {
...
define configure ( $gui="true", $db_password ) {
...
postgresql::create_db {
2007 Jan 03
2
Rails and bb forum integration
Hi,
I''m new to Rails. Have read the Agile book. Working on new app, its
going well.
Now, I am at a crossroads. I need to choose a bbs for my site
The significance for rails development is that I want to have single
sign on between both my Rails app and my forum.
I was just about to work on integrating the Rails SaltedLoginGenerator
into my rails app when I read this post
2007 Jun 25
2
Problem
This is the source code generated by SaltedLoginGenerator
@params[''user''].delete(''form'')
Can anybody explain what the delete message do?
--
http://sourceforge.net/projects/mycodeline/
http://rubyforge.org/projects/ropenwiki/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2005 Dec 15
6
Dynamic Text Replacement
I noticed there are a lot of PHP based dynamic text replacement
examples out there such as:
http://artypapers.com/csshelppile/pcdtr/
Is there anything like this for Ruby / Rails? I know there''s always
SiFR but that method is often frustrating because I''ve noticed
significant slow down in page load time even on pages that use it
sparingly.
2006 Feb 04
1
Issues with sending HTML email
Hello,
I am using the SaltedLoginGenerator. Everything is working fine except the e-mail is being sent out as text instead of text/html. I have tried changing the Content-Type to text/html but to no avail.
I even tried changing the Content-Type in tmail/facade.rb but it didn''t help.
What am I missing? How can I get ROR to send a HTML email.
Thanks
Frank
2005 Oct 27
2
Fixtures are not loading into instance variables. Why not?
Hi,
I have a fixture in a unit test and I see that the
fixture is loaded correctly into the database table,
but no instance variables are created.
So now I''m stuck.
More background: this is my first RoR project and I
have just installed the SaltedLoginGenerator and
generated its output.
Running the unit tests gives an error, so I cut it
down to just 1 test:
2006 Jun 20
3
WEBrick just decided to take a hiatus on me
Good day all.
This is one of the most frustrating days I have had with Rails in quite some
time now (almost 8 months actually).
Yesterday I complete my development and testing and everything is peachy.
I head home for the evening and do my things there.
This morning, I come back in and do my typical morning routine of starting
up eclipse and the usual "ruby script/server" command in
2005 Dec 25
5
understanding session fixation attacks
is there a way that, our application can understand wheteher the session id
sent from the browser is forged or created by rails? I understand that if
the attacker guesses session id, theres nothing we can do about it; but can
we understand if he/she is trying to guess by creating random session ids.
_______________________________________________
Rails mailing list
2017 Oct 23
2
Unable to apply mysqld_db_t to mysql directory
Hello,
A server was configured in /var/lib/myslq in the root fs. I added a LV
specifically for mysql. I stopped myql and renamed /var/lib/mysql to
/var/lib/mysql.old. I created a new dir /var/lib/mysql and mounted the LV
on /var/lib/mysql. I then copied with "cp -prZ" all mysql files in
/var/lib/mysql.old to /var/lib/mysql.
But then I got a selinux problem:
# ls -ldZ mysql.old/
2004 Dec 21
1
RMySQL_0.5.5 / SUSE9.2
Hi,
where is my mistake?
i have done follow comand-lines.
export PKG_LIBS="-L/usr/lib/myslq"
export PKG_CPPFLAGS="-I/usr/include/mysql"
R CMD INSTALL RMySQL_0.5-5.tar.gz
i'm using R-2.0.1 , suse 9.2, 5.0.0-alpha-standard , and after a succefuel
compilaition i get when im type in R library(RMySQL):
Loading required package: DBI
Error in dyn.load(x, as.logical(local),
2017 Oct 23
2
Unable to apply mysqld_db_t to mysql directory
Interesting to see the Equivalence. As a first thing, I tried:
semanage fcontext -a -e /var/lib/mysql.old /var/lib/mysql
then
restorecon -R /var/lib/mysql
# semanage fcontext -lC
SELinux fcontext type
Context
/home/users(/.*)? all files
system_u:object_r:user_home_dir_t:s0
/var/lib/mysql all
2005 May 03
8
SQLite3 + RAM drive => 3 times faster unit tests
One problem I sort of always had with the ActiveRecord''s tight coupling
to the SQL backend is how slow it makes the unit tests. OK, there are
some ways to make it faster at a price of extra complexity (reusing the
fixtures, doing a rollback in the end of the test, etc), but still - it
is much slower than what I would like a unit test to be.
Today I had a very simple idea (why, oh why
2007 Jul 14
2
OpenBSM questions
Hello
I have some issues with OpenBSM which i cannot resolve, so i decided to
ask there.
1) I found some bugs in the auditreduce utility and created patch for it
- http://www.freebsd.org/cgi/query-pr.cgi?pr=114534.
Please, someone from freebsd team - take it, i think its better to fix
this before next release.
2) I found that when i`m using XDM as login manager with OpenBSM, all my
audit
2006 May 30
0
2 quick question about SaltedLoginGenerator
Hi all,
I''m using the Salted Login Generator. It''s fantastic.
And I have tow quick questions, wish you could give me a hint.
1. I have a few controllers, which all got "index" action. And how can I
make login system pass Controller1::index, but restrict access to
Controller2::index
2. When the user click the link to verify himself, I want to fill some my
customised