Displaying 20 results from an estimated 5000 matches similar to: "Rails Movie for fun"
2005 Dec 29
5
help with installing login_engine
Hello,
I did a script/plugin discover
then script/plugin engine
then script/plugin login_engine
The discover worked, but I get engine and login_engine not found.
I am using a Mac
Thanks
Frank
2005 Dec 18
3
could you give me a hand?
hi.
i try to record a global array to save on-line member.
it''s put this array in controllers/application.rb or not?
my code like this:
$online_users = Array.new
and each member sign in will add himself to $online_users.
miss something?
all regards
--
Posted via http://www.ruby-forum.com/.
2005 Dec 29
5
Subversion graphical client?
Hi All -
I notice that most of the Rails team are using Mac OS X and TextMate for
Ruby development. I too am working on Mac OS X and trying TextMate and
(shudder?) EMacs.
I was wondering about version control. Are folks using Subversion? If
so, are they using a graphical client? Which one do they recommend?
Yours,
Jordan
--
Posted via http://www.ruby-forum.com/.
2005 Dec 26
2
resorting a dataset
Quick question to see how I might re-sort an Activerecord data set. Let''s
say I have this table:
tablename: testscores
| id | student | score | avg_for_year
1, steve, 85, 82
2, tom, 84, 92,
3, jim, 92, 95
In my controller, I have something like:
t= Testscores.find(:all, :order => "score DESC", :limit => 2)
...where it would return the records for Jim and Steve....
My
2005 Dec 17
2
Encrypting files
Anyone know of a good (fast) way to encrypt/decrypt uploaded files in
RoR? I''ve seen this project: http://ezcrypto.rubyforge.org/ but it
only seems to encrypt strings and such. I need to encrypt files once
they are uploaded, then decrypt them when they request the file back.
Any ideas?
Thanks,
Mark
--
Posted via http://www.ruby-forum.com/.
2005 Oct 28
5
What is Ming
Mentioned by Amy Hoy in the recent ROR podcast. I googled but didn''t
find anything.
Thanks
Ed
2005 Dec 16
5
Question: image_tag(source, options = {})
image_tag(source, options = {})
Ok, when I want to use an image I added the following code:
<%= image_tag "dsf.jpg" options = {[align="right", style="padding-right:
10px; padding-top: 5px;"]} %>
However, this doesn''t seem to work, it doesn''t like how I have the
"options" part setup. I''m sure there is something very easy
2005 Oct 11
4
Searching an attribute in a hmabtm relationship
(Nuby to Ruby and Rails...)
I''ve implemented security using the login generator in a simple app so
that I have a user table, a roles table, and a join between them
(roles_users). All works as expected. I now need to check if a user
has a specific role, but my approach is off somehow.
Here''s what I''ve tried thusfar:
user_roles = @session[:user].roles
2005 Jan 25
29
Write-up on RoR + XUL Sample
Hi Folks,
Just a quick message saying that, after much demand, I wrote a quick
write-up for the RoR + XUL thing I did yesterday:
http://www.zedshaw.com/blog/programming/ruby_xul.html
It lays out the few simple things I did, has a bit of rant on an
unrelated topic, and other stuff but it''s short still.
On a related note, I''d like to thank "xal" on IRC for reminding
2005 Dec 21
8
textilize - redcloth
Hi,
I''m using textilize with redcloth 3.0.4. Everything works best except
that paragraphs are not translated as an HTML paragraph
When I write something like:
*first paragraph*
second paragraph
the output is without paragraph:
*first paragraph*
second paragraph
Any help??? Thanks
Jörg
2005 Dec 16
1
500 Error Page
I have an error page defined in my .htaccess file and I''m in production
mode.
Sometimes I still get the Application Error (Rails) white page though. In
this case there was a nil object that I tried to access in a controller
without first checking if it was nil.
How does Rails decide what error page to display and how can I get the
pretty error page to display more often?
Thanks.
2005 Dec 16
2
Is this possible?
Hello Friends,
def new
@invoiceitems = Invoiceitems.new
@oldinvoiceitems = Invoiceitems.find(:all, :conditions
=>[''invoice_id = :invoiceid'', { :invoiceid => params[:id] } ]
end
Error is being shown in the line number with ''end''.
This is for initialising a new invoiceItems object and also finding and
storing all the invoice items for a
2005 Dec 24
2
Variable dumper
Hi there,
I am newbie both in Ruby and in Rails. My experience is mostly PHP.
In PHP, there is a var_dump($mixed) function that dumps the object
$mixed to std_out. This is helpful to see the curent value of a
variable, of if it is an object, everything that is in the object.
Is there an equivalent methods in RoR?
Thanks,
Ezra
--
Posted via http://www.ruby-forum.com/.
2005 Dec 26
2
confused about ruby fast C bindings
I am confused about ruby fast C bindings. Does the command:
gem install mysql
install these?
Is this page:
http://www.tmtm.org/en/mysql/ruby/
the home page for these bindings? If so, it gives no instructions about
installing them with using gem.
Wondering if this is all the same???
Thanks for any help...
Shelby
_______________________________________________
Rails mailing list
2005 Nov 09
1
Enterprise Integration with Ruby - Beta book
I saw this mentioned on Dave Thomas''s blog
http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/EIR.html
and don''t remember having seen it announced on this mailing list. This
new Beta Book is at
http://pragmaticprogrammer.com/titles/fr_eir/index.html
regards
Justin
2005 Oct 14
1
Detecting Webrick // determining application "root" directory
Is there a way to detect Webrick at runtime? I''ve
noticed a couple of differences between my dev
environment (Webrick) and the production environment
(Apache 2/FastCGI):
* stream must be false in send_file with webrick
* pwd is different
- Webrick: It''s where you run ruby
script/server from
- Apache: It''s the public directory
... unless someone
2005 Oct 24
3
Unable to use forms after login generator
I''m using rails 1.8 and login generator 1.1. I''m using rails to manage the
contents of my website. I decided to put an admin page for the content
management. For the sake of convenience, I used Login Generator. Now when I go
to edit or create new content (for now, just posts), it gives me the following
error (this one is for new posts):
NoMethodError in Goblin#new
Showing
2005 Dec 29
3
NoMethodError problem
Hello.
Id like you to help me with something here, i m trying to create a log
manager just for fun but I cant make it work since the beginning.
I created my project, configured the db, initialized my model Log and
then my controller Log, then im just trying to use scaffold :log for the
controller but I cant make it work, the error says:
undefined method `errors'' for
2005 Oct 15
14
OT: Anyone Using a Time Logger?
I have multiple projects and it''s important for me to track time by client
and by project. There''s a Windows application that allows me to do this, but
I''m looking for a cross-platform solution.
I looked at ConsultComm but it wouldn''t install on my Mac. Rather than
rewriting what seems like a commonly-required app, I wondered if anyone else
had something they
2005 Oct 04
3
[Q] file_column help needed
Hi all,
I''m trying to use file_column to upload a picture but
I''m getting the following error:
"cannot convert nil into String"
caused by the last line in
FileColumnHelper::url_for_file_column(object_name,
method)
url << object.send("#{method}_relative_path")
I don''t have any images uploaded for existing entries
so does this not