I'm new to Facebook app, finding a good ebook to follow. I did a
search and found some old book from 2008, 2009, is there any newer
ebooks on this stuff? Please recommend.
Thanks.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to
This is a copy/paste from my question over at
StackOverflowhttp://stackoverflow.com/questions/5750963/implementing-a-tagging-system-in-railsso
feel free to answer there if you want some reputation.
I'm trying to implement a tagging system in a Rails app similar to the one
StackOverflow uses
I want to test an action called with javascript.
The action is:
def index
unless params[:customer_full_name].blank?
full_name = params[:customer_full_name]
@customers = Customer.search_full_name(full_name).paginate(:per_page = 10,
:page = params[:page])
else
@customers =
$_SESSION[userpwd] = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256,
md5($cryptokey), $_POST['password'], MCRYPT_MODE_CBC,
md5(md5($cryptokey;;
Thanks.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails:
I want to integrate Amazon's FPS service using remit gem. I have
successfully installed the remit gem but
when I am trying to run server it gives me the following error: Could not
find gem 'hpricot', required by 'remit', in any of the sources
Installed gems:
1)relax (0.0.7)
2)remit (2.0.1)
Hello
My understanding is rails 3 does not have good binding with MySql2
adapter. so i would suggest you create database explicitly using regular
sql and try to run rake db:migrate.
Second problem could be your mysql version; not sure which versions are
well supported.
but yes if you try
Hello
If you are a sudo user then you cannot get the password but yes you can
set new password for root.
use passwd root
new password
confirm new password
then do
su root
password
Not sure if this is what you are looking for.
Thanks
Raghavendra
--
Posted via
yes T.ragahvendra Shet it was the problem is solved.
--
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
Hello
You can use a gem called rubysspi which could be downloaded from
rubygems.org
then install it - it has no dependecies
now only for windows
- copy the spa.rb file from your gems/rubysspi/spa.rb(if not here do
find in the gem folder will get it). copy and paste it in
I don't know how people do it, but I'm having huge headaches getting
these things to work with each other. At the moment, doing a cap
deploy:setup gives me this error:
/Users/mikool/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/
capistrano-2.5.19/lib/capistrano/recipes/deploy.rb:55:in `join': can't
Hello
Development - only webrick mongrel
Production - Mongrel cluster
features
- Load balancing
- request sharing
- Starts with one simple command
- restarts stops
- Creates a PID file so you can kill process
- runs in daemon mode
Now if you are planning to deploy some app for least 30
Hello
Use the following
- production log analyser
- newrelic
- fiveruns
- yslow
- httpperf
- exception notification
check if you have pagination gem or plugin
regards
-Raghavendra
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
hi,
i'm a new user of ROR, and i find some probleme to manipulate threads.
so, i have two ROR app runing in m computer,the first is for exemple
Diaspora* and the second the app that im writing to administrate
Diaspora server.
so i want from the adminstration panel, start/stop Diaspora server.
i
Thanks Greg, AM does not support i-pay. Anyways i am working on my own
backend.
On Thu, Apr 21, 2011 at 8:49 PM, Gregory Seidman
gsslist+...@anthropohedron.net wrote:
On Thu, Apr 21, 2011 at 06:32:32PM +0500, shahroon ali wrote:
Just wanna know if any one has ever implemented i-pay with
On Fri, Apr 22, 2011 at 8:09 AM, Kevin Pang kpang...@gmail.com wrote:
This is a copy/paste from my question over at
StackOverflowhttp://stackoverflow.com/questions/5750963/implementing-a-tagging-system-in-railsso
feel free to answer there if you want some reputation.
I'm trying to
On Apr 21, 11:54 am, Alex Katebi alex.kat...@gmail.com wrote:
Start your rails server with http default port 80:
rails server -p 80
Now example.com should work.
I don't why people write three pages of information without answering you
anything :)
Thank you very much.
It helped
On 22 Apr 2011, at 10:52, T.ragahvendra Shet wrote:
Development - only webrick mongrel
Production - Mongrel cluster
features
- Load balancing
- request sharing
- Starts with one simple command
- restarts stops
- Creates a PID file so you can kill process
- runs in daemon mode
Now if you
I am very new to ROR.I created a simple form using controller and view
as
script/generate controller form myfun
Now i edit myfun.html.erb file inside /app/view/form and added
following contents to the file to make a simple form
html
h1
Student Auditorium Management Project
/h1body
On 22 Apr 2011, at 15:07, amrit pal pathak wrote:
Here i want 2 things as
1) Now i want to create a table and want to connect this form to
that,so that when i click on submit after filling filelds ,entries
should go in database.I am running rails 2.3.5 under deveolpment
enviornment.
2)
On Apr 22, 7:58 am, amrit pal pathak amritpalpath...@gmail.com
wrote:
On Apr 21, 11:54 am, Alex Katebi alex.kat...@gmail.com wrote:
Start your rails server with http default port 80:
rails server -p 80
Now example.com should work.
I don't why people write three pages of information
On Apr 22, 9:13 am, Peter De Berdt peter.de.be...@pandora.be wrote:
On 22 Apr 2011, at 15:07, amrit pal pathak wrote:
Here i want 2 things as
1) Now i want to create a table and want to connect this form to
that,so that when i click on submit after filling filelds ,entries
should go
I have an array of Hash to be used for creating records in db with
this format :
geo_areas.first
= {id=1, areaOrder=1, areaName=Europe, areaCode=EUR,
areaEnabled=1}
I'll loop over the geo_areas array to create all records .. but I need
to use the 'id' key as the :id of my records upon creation
Raghavendra,
I think so.
I´d remove the mysql 5.5 and install the 5.1 version, then, the error
has been changed. I didn´t save the log file, so, i can´t to tell about
it.
But, considering the possibility of incompatibility between the rails 3
and mysql2 adapter, well, there are so many
Hi
I treid using rails 2.3.8 and ruby 1.9.
Rails console is opening correctly but when i trid to run my project
it is giving following error.
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.8/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
76:in `rescue in
On Fri, Apr 22, 2011 at 9:26 PM, Erwin yves_duf...@mac.com wrote:
I have an array of Hash to be used for creating records in db with
this format :
geo_areas.first
= {id=1, areaOrder=1, areaName=Europe, areaCode=EUR,
areaEnabled=1}
I'll loop over the geo_areas array to create all records
Thanks Jim
I am using a specific seed.rb script to seed the database from
scratch , as it clean the tables it's not so important, the id auto-
generated in sequence.
If the table is not empty (let's assume 12 records) , then the first
hash will have the id : 13 despite the fact that there is an
On Thu, Apr 21, 2011 at 7:01 AM, DHAMODHARAN N dhams...@gmail.com wrote:
*Hello **Bryan Crossla*n,
* As per the information what they are mentioned in this link
http://lambie.org/2008/02/28/connecting-to-an-mssql-database-from-ruby-on-ubuntu/*
*configured. Initially i can able to access
I don't think this is true. According to the Rails
APIhttp://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#M000645,
this is what collection.delete does with a has_and_belongs_to_many
association:
Removes one or more objects from the collection by removing their
On Thu, Apr 21, 2011 at 9:53 AM, sol.manager sol.mana...@gmail.com wrote:
I should be more clear and state that I am using carrierwave 0.4.10
which is supposed to work with Rails 2.x and is past the carrierwave
release that did have missing files. I built a blank Rails 3 app using
the 0.5x
Just to be sure though, I've changed that line to be:
tags.clear
This seems cleaner anyways, and the Rails API explicitly states that calling
this will not delete the objects themselves, only the association.
--
You received this message because you are subscribed to the Google Groups Ruby
On Fri, Apr 22, 2011 at 3:15 AM, Mike C snib...@gmail.com wrote:
I don't know how people do it, but I'm having huge headaches getting
these things to work with each other. At the moment, doing a cap
deploy:setup gives me this error:
/Users/mikool/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/
On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak amritpalpath...@gmail.com
wrote:
On Apr 22, 9:13 am, Peter De Berdt peter.de.be...@pandora.be wrote:
On 22 Apr 2011, at 15:07, amrit pal pathak wrote:
Here i want 2 things as
1) Now i want to create a table and want to connect
carlo bation wrote in post #994454:
$_SESSION[userpwd] = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256,
md5($cryptokey), $_POST['password'], MCRYPT_MODE_CBC,
md5(md5($cryptokey;;
Maybe this article will help:
http://blog.rapleaf.com/dev/2009/02/19/ruby-and-mcrypt/
As it says at the
On Fri, Apr 22, 2011 at 8:29 AM, Darlan Machado li...@ruby-forum.comwrote:
Raghavendra,
I think so.
I´d remove the mysql 5.5 and install the 5.1 version, then, the error
has been changed. I didn´t save the log file, so, i can´t to tell about
it.
But, considering the possibility of
On 22 April 2011 15:40, Bryan Crossland bacrossl...@gmail.com wrote:
On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak
amritpalpath...@gmail.com wrote:
On Apr 22, 9:13 am, Peter De Berdt peter.de.be...@pandora.be wrote:
On 22 Apr 2011, at 15:07, amrit pal pathak wrote:
Here i want 2
On Fri, Apr 22, 2011 at 8:30 AM, sreehari sreehari0...@gmail.com wrote:
Hi
I treid using rails 2.3.8 and ruby 1.9.
Rails console is opening correctly but when i trid to run my project
it is giving following error.
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.8/lib/
i dont know why but script/server -p 80 gives error me now as
amrit@ubuntu:~/amritdemo$ script/server -p 80
= Booting WEBrick
= Rails 2.3.5 application starting on http://0.0.0.0:80
= Call with -d to detach
= Ctrl-C to shutdown server
[2011-04-22 09:20:01] INFO WEBrick
On Apr 22, 10:40 am, Bryan Crossland bacrossl...@gmail.com wrote:
On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak amritpalpath...@gmail.com
wrote:
On Apr 22, 9:13 am, Peter De Berdt peter.de.be...@pandora.be wrote:
On 22 Apr 2011, at 15:07, amrit pal pathak wrote:
Here i
On Mon, Apr 18, 2011 at 03:44:22PM -0700, Manuele Dones wrote:
Great! I'm updating the gems... So if i've done a project using rails 3.0.6
and now i'm updating gems to rails 3.0.7, what I've to do inside my project?
Should I change the Gem file inside my project, from rails 3.0.6 to rails
On Mon, Apr 18, 2011 at 03:52:46PM -0700, Manuele Dones wrote:
...and another question ;-) I've noticed running *gem list *that on my
system I've both rails 3.0.6 and 3.0.7, and the same for activerecord,
activesupport, etc etc...
Is there a problem? is there a way to clean up older
On 22 April 2011 17:00, amrit pal pathak amritpalpath...@gmail.com wrote:
On Apr 22, 10:40 am, Bryan Crossland bacrossl...@gmail.com wrote:
On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak amritpalpath...@gmail.com
...
http://guides.rubyonrails.org/getting_started.html
Thats what i
On Fri, Apr 22, 2011 at 11:00 AM, amrit pal pathak
amritpalpath...@gmail.com wrote:
On Apr 22, 10:40 am, Bryan Crossland bacrossl...@gmail.com wrote:
On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak
amritpalpath...@gmail.com
wrote:
On Apr 22, 9:13 am, Peter De
Just curious if there is a more elegant way to set a variable if it happens
to not exist yet. I often find I am doing somthing like the following:
regex = ''
10.times { regex += '.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*\n' }
Is there some prettier way to within the second line create
On Apr 22, 12:27 pm, Bryan Crossland bacrossl...@gmail.com wrote:
On Fri, Apr 22, 2011 at 11:00 AM, amrit pal pathak
amritpalpath...@gmail.com wrote:
On Apr 22, 10:40 am, Bryan Crossland bacrossl...@gmail.com wrote:
On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak
On 22 April 2011 17:41, amrit pal pathak amritpalpath...@gmail.com wrote:
...
During scaffold,i got a error.Should i discuss that here or
somewhere else ??
Start a new thread with an appropriate subject. Post the command you
are entering and the complete error message and stack trace
I have been building a small app to import a cv from linkedin.
Displaying the information is working out perfect, but saving it to
the database is turning out to be a challenge.
The full source code is at https://github.com/brunoamaral/lwork and
the source code of the import function is as
On 22 April 2011 18:09, Bruno Amaral m...@brunoamaral.eu wrote:
I have been building a small app to import a cv from linkedin.
Displaying the information is working out perfect, but saving it to
the database is turning out to be a challenge.
...
When running it, I get the message:
undefined
On Friday, April 22, 2011 2:09:08 AM UTC-6, Ruby-Forum.com User wrote:
$_SESSION[userpwd] = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256,
md5($cryptokey), $_POST['password'], MCRYPT_MODE_CBC,
md5(md5($cryptokey;;
Thanks.
I don't know if you just need help doing equivalent crypto
On Friday, April 22, 2011 11:54:00 AM UTC-6, Kendall Gifford wrote:
... then I'd use OpenSSL (through the OpenSSL gem).
Woops, did I say OpenSSL gem? That'd be the OpenSSL class in the standard
library: http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html
--
You received this
On Friday, April 22, 2011 10:32:35 AM UTC-6, DK wrote:
Just curious if there is a more elegant way to set a variable if it happens
to not exist yet. I often find I am doing somthing like the following:
regex = ''
10.times { regex += '.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*\n' }
On Fri, Apr 22, 2011 at 1:15 PM, Kendall Gifford zettab...@gmail.comwrote:
On Friday, April 22, 2011 10:32:35 AM UTC-6, DK wrote:
Just curious if there is a more elegant way to set a variable if it
happens to not exist yet. I often find I am doing somthing like the
following:
regex =
Hello,
I have the following code in my environment/development.rb
config.action_mailer.raise_delivery_errors = true;
config.action_mailer.delivery_method = :smtp;
config.action_mailer.smtp_settings = {
:address = smtp.gmail.com,
:port = 587,
:user_name = my...@gmail.com,
:password
On Apr 22, 2:26 pm, Erwin yves_duf...@mac.com wrote:
I have an array of Hash to be used for creating records in db with
this format :
geo_areas.first
= {id=1, areaOrder=1, areaName=Europe, areaCode=EUR,
areaEnabled=1}
I'll loop over the geo_areas array to create all records .. but I
I guess you could do something like this:
x = defined?(x) ? x+=string :
You can assign a value to a variable if it doesn't exist like this:
s ||=
but in your case you want to use the operand + so the string needs to exist.
Also an alternative for the loop example
regex = ''
10.times {
On Apr 22, 6:56 pm, Kendall Gifford zettab...@gmail.com wrote:
On Friday, April 22, 2011 11:54:00 AM UTC-6, Kendall Gifford wrote:
... then I'd use OpenSSL (through the OpenSSL gem).
Woops, did I say OpenSSL gem? That'd be the OpenSSL class in the standard
I am currently wanting to cleanup my gems so that i end up with Rails
2.3.11 and Rails 3.0.x. While working on this I notice I cannot
uninstall some Rails versions from command line. I ran the following
and wonder if it is safe for me to remove Rails 1.2.6, 2.2.2 and 2.3.5
versions from these
On Fri, Apr 22, 2011 at 1:42 PM, Jazmin jazminschroe...@gmail.com wrote:
I guess you could do something like this:
x = defined?(x) ? x+=string :
Thanks Jazmin, this is the kind of thing I was looking for although I guess
in the end it is probably less readable than just assigning the
On Fri, Apr 22, 2011 at 2:06 PM, sol.manager sol.mana...@gmail.com wrote:
I am currently wanting to cleanup my gems so that i end up with Rails
2.3.11 and Rails 3.0.x. While working on this I notice I cannot
uninstall some Rails versions from command line. I ran the following
and wonder if it
On Fri, Apr 22, 2011 at 2:51 PM, David Kahn d...@structuralartistry.comwrote:
On Fri, Apr 22, 2011 at 2:06 PM, sol.manager sol.mana...@gmail.comwrote:
I am currently wanting to cleanup my gems so that i end up with Rails
2.3.11 and Rails 3.0.x. While working on this I notice I cannot
Hi everyone, I'm new to web programming, actually I haven't even started
yet, but I intend to do it with Ruby on Rails.
So my question is, which of the 3, TextMate, EMACS or RadRails, would you
choose, and why?
And can I build and run codes on TextMate and EMACS?
--
You received this message
Hi.
I need advise which hosting server is the best.
I mean good support, failure-free, supporting Rails 3, mysql or
postgresql http://www.postgresql.org/and so on.
Possibly in Europe, might be other region if has good(easy) payment options.
Thanks in advance.
--
You received this
Or, you could point your browser to http://lvh.me:3000/. Or
http://smackaho.st:3000/. Both of those are wildcard localhost
redirectors that will resolve any subdomain to 127.0.0.1.
On Apr 21, 3:23 pm, Alex Katebi alex.kat...@gmail.com wrote:
Manoj,
Changing the hosts file for subdomains
I just ran into this last night. Since I use rvm for my gems now, I
ended up using 'gem uninstall rails' (outside of rvm) and choosing to
uninstall all of the available versions. I manually nuked the gem
repos under /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/
lib/ruby/gems/1.8.
i'm not sure how it works from Europe, but Heroku is super easy for Rails.
Jason
On Fri, Apr 22, 2011 at 3:09 PM, Bartek Iwaszkiewicz
bartek.iwaszkiew...@gmail.com wrote:
Hi.
I need advise which hosting server is the best.
I mean good support, failure-free, supporting Rails 3, mysql or
They are tiny on my display and a bigger one would be easier for my
users to find/use.
This is for rails 2 3. I am using 2 now, but upgrading to 3 as we
speak..
Thanks
Bob bsm...@gmail.com
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
This is a holy war that starts up about every other week on this list.
You'll find people insisting that their favorite development
environment is better than anyone else's. It depends on how you prefer
to work.
I personally find it most productive and satisfying using RubyMine. I
end up googling
On 22 April 2011 21:53, Bob Smith bsm...@gmail.com wrote:
They are tiny on my display and a bigger one would be easier for my
users to find/use.
This is for rails 2 3. I am using 2 now, but upgrading to 3 as we
speak..
You can change it using css. Google for css checkbox size for
examples
I have been using RVM, Homebrew and POW in combination with projects
using Rails 2.3.11 retrofitted with Bundler and then separate projects
using Rails 3.0.x. Between my homebrew installs of MySQL, POW and
passenger issues depending on whether you use RVM and/or try to use
Rails 2.3.11 It has
The error message mentions line 44:
@user.positions @cv.positions
@user.positions.save
the full output is here: http://dl.dropbox.com/u/109441/errormessagerails.html
@cv.positions is an array, so from what you're telling me it should
not use match as a method.
On Apr 22, 6:38
On Friday, April 22, 2011 1:01:28 PM UTC-6, Frederick Cheung wrote:
The ezcrypto gem is way easier to use, unless you happen to be used to
using the openssl C api
Fred
Yeah, I'd agree with that (used it on one project a while back). I couldn't
remember the name of it though.
--
You
+1 for RubyMine
by the way, it's on sale until this Sunday for 50% off
On Fri, Apr 22, 2011 at 3:56 PM, Paul p...@nines.org wrote:
This is a holy war that starts up about every other week on this list.
You'll find people insisting that their favorite development
environment is better than
Hi everyone, on any rake command i have error:
rake aborted!
no such file to load -- bundler/setup
/home/snater/railsapps/seoclub/config/boot.rb:6:in `require'
/home/snater/railsapps/seoclub/config/boot.rb:6:in `'
/home/snater/railsapps/seoclub/config/application.rb:1:in `require'
Thank you for the tip guys, when I have some time to finally start my web
programming i'll try it out.
Tell me something, can I write HTML code with RubyMine to make a simple web
page?
I'm asking that cause that's the first thing I'm learning, HTML.
--
You received this message because you are
Rodrigo Ruiz wrote in post #994581:
Thank you for the tip guys, when I have some time to finally start my
web
programming i'll try it out.
Tell me something, can I write HTML code with RubyMine to make a simple
web
page?
I'm asking that cause that's the first thing I'm learning, HTML.
You
Sent from my iPhone
On Apr 22, 2011, at 5:19 PM, Rodrigo Ruiz rodrigo.ru...@gmail.com wrote:
Thank you for the tip guys, when I have some time to finally start my web
programming i'll try it out.
Tell me something, can I write HTML code with RubyMine to make a simple web
page?
I'm
On Fri, Apr 22, 2011 at 5:39 PM, Bryan Crossland bacrossl...@gmail.comwrote:
Sent from my iPhone
On Apr 22, 2011, at 5:19 PM, Rodrigo Ruiz rodrigo.ru...@gmail.com wrote:
Thank you for the tip guys, when I have some time to finally start my web
programming i'll try it out.
Tell me
Hi,
I solved this bug.
Actually this was an Window XP and ruby 187 issue. The rails console
executes on Windows command prompt. The command prompt had some
limitations on String limit to be displayed on the cmd console.
The fix was as follows:
class String
def to_2d_array(value)
Edit the host file of your os to make example.com point a 127.0.0.1
--
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 email to
On Fri, Apr 22, 2011 at 4:26 PM, Garnash garmash.niko...@gmail.com wrote:
Hi everyone, on any rake command i have error:
rake aborted!
no such file to load -- bundler/setup
/home/snater/railsapps/seoclub/config/boot.rb:6:in `require'
/home/snater/railsapps/seoclub/config/boot.rb:6:in `'
On Fri, Apr 22, 2011 at 10:20 PM, Kevin Pang kpang...@gmail.com wrote:
Just to be sure though, I've changed that line to be:
tags.clear
this sure make things clearer. i should've checked the api before i
commented.
This seems cleaner anyways, and the Rails API explicitly states that
love emacs =]
2011/4/22 David Kahn d...@structuralartistry.com
On Fri, Apr 22, 2011 at 5:39 PM, Bryan Crossland bacrossl...@gmail.comwrote:
Sent from my iPhone
On Apr 22, 2011, at 5:19 PM, Rodrigo Ruiz rodrigo.ru...@gmail.com
wrote:
Thank you for the tip guys, when I have some time to
On Apr 22, 12:48 pm, Colin Law clan...@googlemail.com wrote:
On 22 April 2011 17:41, amrit pal pathak amritpalpath...@gmail.com wrote:
...
During scaffold,i got a error.Should i discuss that here or
somewhere else ??
Start a new thread with an appropriate subject. Post the
82 matches
Mail list logo