On Mar 12, 9:11 am, Ajay stealthu...@gmail.com wrote:
Hello,
When I am running the command rails server, I am getting the
i have same problem on windows xp
i tried many ways, even i could excute rails server but after running
server, rails application doesn't work
--
You received this
On 12 March 2011 23:29, Conrad Taylor conra...@gmail.com wrote:
On Sat, Mar 12, 2011 at 1:07 PM, Colin Law clan...@googlemail.com wrote:
On 12 March 2011 20:47, Michael Pavling pavl...@gmail.com wrote:
On 12 March 2011 14:23, Colin Law clan...@googlemail.com wrote:
On 12 March 2011 13:42,
First thank for the tutorial link. I already read a piece of it. But at
3.5 Create a database I have a problem. I have to use the command
rake db:create but the terminal tells me:
---
No Rakefile found (looking for:
Thanks Bryan...
On 12 March 2011 14:44, Bryan Crossland bacrossl...@gmail.com wrote:
On Sat, Mar 12, 2011 at 11:29 AM, nishant nigam
nishantnig...@gmail.comwrote:
Bryan i did those changes ...i dont know how to change the main uploader
code from where the file will upload..
Everything
Thanks Jeff, it's clear
in this project , I believe the alternative strategy would be fine ...
it's actually a 'sequential' list of small tasks to be performed ...
and simple progress display in the UI (started - done)
I'll test an 'human' (admin) firing first but I guess I can also
have
Good day, people,
I installed a fully working Ruby on Rails on my Debian Squeeze system
today and am studying a tutorial about Ruby on Rails right now.
It says that in the main folder of my app, I should type
ruby script/generate controller Stories index
Good, but that seems to be for older ruby
On Mar 12, 11:25 pm, Simon Welker p0mmesg4...@googlemail.com wrote:
Stories#index
Find me in app/views/stories/index.html.erb
Huh. That's good for the time being, because something happens in some
kind and I got a functioning (at least halfway) controller. But why
won't it use
On Mar 12, 11:25 pm, Simon Welker p0mmesg4...@googlemail.com wrote:
Good day, people,
I installed a fully working Ruby on Rails on my Debian Squeeze system
today and am studying a tutorial about Ruby on Rails right now.
It says that in the main folder of my app, I should type
ruby
On 13 March 2011 09:18, Superpelican X. li...@ruby-forum.com wrote:
First thank for the tutorial link. I already read a piece of it. But at
3.5 Create a database I have a problem. I have to use the command
rake db:create but the terminal tells me:
In the controller , I am passing an Array as a collection
@objects = [item1, item2, item3, item4]
in the view I wrote
%table#objects
= render :partial = 'object', :collection = @objects
and in my partial _object.html
= content_tag_for(:tr, @object) do
%td= @object
%td=
Hello,
*CodeFest'11* http://codefest.org.in/, the annual online international
coding festival of Computer Engineering Society IT-BHU, presents
Manthanhttp://codefest.org.in/event.php?name=manthan-
the *algorithm intensive* programming contest.
The contest aims to provide a platform for
On Mar 13, 11:42 am, Erwin yves_duf...@mac.com wrote:
In the controller , I am passing an Array as a collection
@objects = [item1, item2, item3, item4]
in the view I wrote
%table#objects
= render :partial = 'object', :collection = @objects
and in my partial _object.html
=
Hey guys,
So I'm building a Rails 3 app and one of the major things it needs to
do is let users upload photos into their own photo albums. That part
in and of itself isn't a problem; where I'm a bit short on knowledge
is the proper way to *secure* that information.
Say we have 3 users: a, b, c.
Thanks fred.. I tried with object but same error.. it seems
model_name_from_record_or_class is needed when using collection
I may have to change the partial rendering ... ?
-- trace
activemodel (3.0.4) lib/active_model/naming.rb:94:in
`model_name_from_record_or_class'
activemodel (3.0.4)
to avoid being confused with 'object' litteral .. I modified the test
code as following :
#lockers
%table#items
= render :partial = 'item', :collection = ['foo', 'bar',
'baz']
and the _item partial
= content_tag_for(:tr, item) do
%td= item
this time , the
Thanks for your answer! I'm just a little bit disappointed now that I
have to use a whole other tutorial now.
scaffold will create all things for a basic database view and editing
system, and it will create
resources :stories
in my routes.rb. Well, that's what I did manually now. I don't wanna
Hi peers,
i am facing a problem ..
trying to test a website locally ..some pages work fine but some others
calling MySQl give me the following errors :
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock'
what i have noticed :
1- no socket file in the
On Mar 13, 12:47 pm, Phoenix Rising polarisris...@gmail.com wrote:
However, what's to stop B from grabbing the URL to the photo of A and
then sending it to C over iChat or something? C gets the image pulled
up without even so much as a login.
I might be going a bit overkill here, but with
On Mar 13, 1:55 pm, korssane korssane li...@ruby-forum.com wrote:
Hi peers,
i am facing a problem ..
trying to test a website locally ..some pages work fine but some others
calling MySQl give me the following errors :
If by 'calling mysql' you mean when your app tries to use mysql then
On Mar 13, 1:28 pm, Erwin yves_duf...@mac.com wrote:
to avoid being confused with 'object' litteral .. I modified the test
code as following :
#lockers
%table#items
= render :partial = 'item', :collection = ['foo', 'bar',
'baz']
and the _item partial
=
Thanks! One last question though, how would the constructor signature look
for that. Apperently
def initialize(file)
# do stuff
end
doesn't work
--
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
thanks you confirm it .. I noticed it as I change my test code using
the array as the collection
it's fine now ... using content_tag obvious thing doesn't appears at
first glance !!
On 13 mar, 15:12, Frederick Cheung frederick.che...@gmail.com wrote:
On Mar 13, 1:28 pm, Erwin
On Mar 13, 2:12 pm, Luke kickingje...@gmail.com wrote:
Thanks! One last question though, how would the constructor signature look
for that. Apperently
I wouldn't override the initialiser if I were you. You need to
preserve existing semantics so that (for example) active record can
load your
This is a great question - roll your own (which is a great learning exercise
following along with trusted tutorials like:
Railscasts - Authentication from Scratch
http://blog.railsrumble.com/blog/2010/10/08/intridea-omniauth
Michael Hart's Rails Tutorial:
Hello,
I am again looking for some guidance as an inexperienced programmer. I
appreciate the help. I would like to run a number of ruby files from
within rails. They are all different, but return information in a hash
(gen_output) in a standard format that my model in rails needs to use.
I am
Whoops, stupid error...
require #{RAILS_ROOT}/lib/generators/parks_bielkowski_test.rb works!
Thanks anyway
DC
--
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
Bryan Crossland wrote in post #987129:
On Sat, Mar 12, 2011 at 11:34 AM, Tom Tom li...@ruby-forum.com wrote:
or 'rails c --sandbox' I get a FATAL: password authentication failed for
password: xxx
pool: 5
timeout: 5000
Just checking the basics herecan you login into PosgreSQL using
I marshal a Model object and store into a table column(text type), it
always strip the size into 127. so I can not return a marshal object to
model object. how can I make this work?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
Hi Bryan,
Thanks for your reply.
Yes I can log in as any of the three users that I have postgres and
two other test users I created in trying to resolve this issue.
what host do you have set in your database.yml ?
--
make haste slowly \
festina lente \
-
mobile
On Mar 13, 4:20 pm, Zhenning Guan li...@ruby-forum.com wrote:
I marshal a Model object and store into a table column(text type), it
always strip the size into 127. so I can not return a marshal object to
model object. how can I make this work?
you should probably be using a blob column for
On Fri, Mar 11, 2011 at 2:33 PM, Luke kickingje...@gmail.com wrote:
Hi there,
I posted this issue
https://groups.google.com/forum/?hl=de#!topic/carrierwave/ergk9LaO68kat
the carrierwave-group, but I'm beginning to think this rather is a
rails-issue than a problem with carrierwave. The
config.autoload_paths
should include 'lib' to load you code - it is strange that this isn't
happening.
Rails.root is what we use in rails 2
On Sun, Mar 13, 2011 at 9:00 AM, Dave Castellano li...@ruby-forum.comwrote:
Whoops, stupid error...
require
On Sun, Mar 13, 2011 at 4:42 AM, Erwin yves_duf...@mac.com wrote:
In the controller , I am passing an Array as a collection
@objects = [item1, item2, item3, item4]
in the view I wrote
%table#objects
= render :partial = 'object', :collection = @objects
and in my partial _object.html
On Sun, Mar 13, 2011 at 9:20 AM, Zhenning Guan li...@ruby-forum.com wrote:
I marshal a Model object and store into a table column(text type), it
always strip the size into 127. so I can not return a marshal object to
model object. how can I make this work?
the text column is 2GB- you must
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock'
database.yml for mysql defaults to this you can change it with
socket: /var/run/mysqld/mysqld.sock
what i have noticed :
1- no socket file in the /var/lib/mysql/mysql.sock under
/var/lib/mysql/.
2- i was
Frederick Cheung wrote in post #987179:
On Mar 13, 1:55pm, korssane korssane li...@ruby-forum.com wrote:
Hi peers,
i am facing a problem ..
trying to test a website locally ..some pages work fine but some others
calling MySQl give me the following errors :
If by 'calling mysql' you mean
On Sun, Mar 13, 2011 at 5:47 AM, Phoenix Rising polarisris...@gmail.comwrote:
Hey guys,
So I'm building a Rails 3 app and one of the major things it needs to
do is let users upload photos into their own photo albums. That part
in and of itself isn't a problem; where I'm a bit short on
Thanks! It worked! A dumb mistake of me.
--
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-talk@googlegroups.com.
To unsubscribe from this group,
It's easy to use google when you know what to look for: X-SendFile.
http://www.therailsway.com/2009/2/22/file-downloads-done-right
Thanks Frederick for the info
Robert Pankowecki
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to
On 13 Mar 2011, at 16:51, korssane korssane li...@ruby-forum.com wrote:
Frederick Cheung wrote in post #987179:
On Mar 13, 1:55pm, korssane korssane li...@ruby-forum.com wrote:
Hi peers,
i am facing a problem ..
trying to test a website locally ..some pages work fine but some others
Can anyone please provide me activerecord-oracle-adapter.gem file. I no
longer find it i the rubysource website. Also im doing this install from
local respository versus using gem source repository over internet as I
am behind a firewall on the linux server
Regards
--
Posted via
On Sat, Mar 12, 2011 at 11:52 PM, Ajay stealthu...@gmail.com wrote:
Hi Bryan,
I executed the following command
gem uninstall mysql2
followed by the command you mentioned.
I then executed the command
rails server
But, I am getting the same error. Please let me know, if you have any
On Sun, Mar 13, 2011 at 3:45 AM, Alir3z4 agahia@gmail.com wrote:
On Mar 12, 9:11 am, Ajay stealthu...@gmail.com wrote:
Hello,
When I am running the command rails server, I am getting the
i have same problem on windows xp
i tried many ways, even i could excute rails server but
On Mar 13, 7:24 pm, Sanjeev Me li...@ruby-forum.com wrote:
Can anyone please provide me activerecord-oracle-adapter.gem file. I no
longer find it i the rubysource website. Also im doing this install from
local respository versus using gem source repository over internet as I
am behind a
On Sun, Mar 13, 2011 at 2:54 PM, Frederick Cheung
frederick.che...@gmail.com wrote:
On Mar 13, 7:24 pm, Sanjeev Me li...@ruby-forum.com wrote:
Can anyone please provide me activerecord-oracle-adapter.gem file. I no
longer find it i the rubysource website. Also im doing this install from
Frederick Cheung wrote in post #987224:
On Mar 13, 7:24pm, Sanjeev Me li...@ruby-forum.com wrote:
Can anyone please provide me activerecord-oracle-adapter.gem file. I no
longer find it i the rubysource website. Also im doing this install from
local respository versus using gem source
Curtis j Schofield wrote in post #987203:
what host do you have set in your database.yml ?
Hello Curtis,
I just looked at my database.yml and I do not have a host listed.
Should I list one and then make it local, ie.
host:local?
Thanks,
fuzzy.
--
Posted via http://www.ruby-forum.com/.
--
Bryan Crossland wrote in post #987228:
On Sun, Mar 13, 2011 at 2:54 PM, Frederick Cheung
frederick.che...@gmail.com wrote:
Fred
Agreed. The gem you are looking for is really old and has been replaced
by activerecord-oracle_enhanced-adapter gem.
B.**
Figured out the issue. Changed
All right. And ask questions if you stuck. That is what community for )
On Sun, Mar 13, 2011 at 8:39 PM, Superpelican X. li...@ruby-forum.com wrote:
Thanks! It worked! A dumb mistake of me.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to
Hi,
Question...
I want a model to use info from a file (parks_bielkowski_test.rb)
residing in lib (standard ruby file containing a method called
generated_question, that returns a hash).
The way I have it set up, I get You have a nil object when you didn't
expect it! if I use the symbol
`body` text COLLATE utf8_unicode_ci,
--
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-talk@googlegroups.com.
To unsubscribe from this group, send
I went through the hivelogic tut
http://hivelogic.com/articles/compiling-mysql-on-snow-leopard
And all went well until mysql -uroot when I get the Can't connect to
local MySQL server through socket '/tmp/mysql.sock' error.
In Console.app I see the mysql is start and stopping with tmp/mysql.sock
Hello guys, I am not able to install kgio. Kgio not working on windows?
I'm using:
rails 3.0.5
ruby 192
gem 1.6.2
Windows XP.
C:\Ruby192\bingem install kgio
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing kgio:
Hello guys, i received answer mailing list kgio(in minutes!):
kgio is *nix only.
mailing: k...@librelist.com
Close topic.
[]s
--
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
54 matches
Mail list logo