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 t
Hello,
I'm trying to build an app (mysuperapp.com) that allows users to create
an account in which a default subdomain (IE: joeshmoe.mysuperapp.com) will
be
created as their homepage.In their profile settings, I also want to give
them the ability to add their own domain name so their hom
I have an STI model where UtilityProvider is the parent class, and
there's a sub-class for each specific utility provider.
When the user goes to choose a UtilityProvider, I want to present a
pull-down list of UtilityProvider.subclasses (or, more likely, a
filtered version of that), and when the us
[UPDATE] I solved the passenger pane issue and you can view the solution
here:
http://railsforum.com/viewtopic.php?pid=139784#p139784
--
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
Frederick Cheung wrote in post #994350:
> On 21 Apr 2011, at 16:58, Rodrigo Ruiz wrote:
>
>> I have a mac, and I saw something about MacRuby, is it good? is it the same
>> as
> any other way of programming for web with ruby on rails?
>
> Macruby is an implementation of ruby (like jruby, rubinius
Sent from my iPhone
On Apr 21, 2011, at 10:54 AM, Alex Katebi 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 :)
>
Because if you give a man a
On Thu, Apr 21, 2011 at 3:25 PM, Nicholas wrote:
> Nicholas writes:
>
> C:\nuhype>gem install mysql2 -- '--with-mysql-lib="c:\Program
> Files\MySQL\MySQL
> Server 5.1\lib\opt" --with-mysql-include="c:\Program Files\MySQL\MySQL
> Server 5.
> 1\include"'
> Temporarily enhancing PATH to include DevKi
Nicholas writes:
C:\nuhype>gem install mysql2 -- '--with-mysql-lib="c:\Program Files\MySQL\MySQL
Server 5.1\lib\opt" --with-mysql-include="c:\Program Files\MySQL\MySQL Server 5.
1\include"'
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Succ
BTW, there is an admin namespace in the route:
namespace :admin do
scope ':project_name' do
resources :submissions
end
end
--
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@goog
I have a route that looks like this:
scope ':project_name' do
resources :submissions
end
and a form_for tag that looks like this:
= form_for admin_submission_path(@project.name, @submission), :html =>
{ :multipart => true } do |f|
but for some reason it tries to match the show route instead a
Im making a Cart for my site, so I make Orders Controller to manage
Orders
so inside I do
def add_product
@product = Product.find(params[:id])
@order = Order.find_by_client_id(current_user.id)
@order.products << @product
end
on Product view/show I place
<%= link_to t(:add_to_cart
Bryan Crossland wrote in post #994054:
> On Tue, Apr 19, 2011 at 10:24 PM, Darlan Machado
> wrote:
>
>> C:\appws\cookbook>rake db:create --trace
>>
> What adapter are you using in your databse.yml file?
>
> B.
yes man, the adapter i´m pointing in the database.yml is 'mysql2'.
I´d try many optional
Hello,
I'm trying to build an app (mysuperapp.com) that allows users to
create an account in which a default subdomain (IE:
joeshmoe.mysuperapp.com) will be
created as their homepage.In their profile settings, I also want to
give them the ability to add their own domain name so their homepa
Manoj,
Changing the hosts file for subdomains will only work on the machines
with hosts file modified. In other words it is for the client machines.
Thanks,
Alex
On Thu, Apr 21, 2011 at 2:56 PM, Manoj Sachwani wrote:
> Nevermind the dev machine hosts part figured that one out :) thanks to
>
Manoj,
I am glad that worked for you.
Take a look at this railscast for rails 3 subdomains
http://railscasts.com/episodes/221-subdomains-in-rails-3
Thanks,
Alex
On Thu, Apr 21, 2011 at 2:54 PM, Manoj Sachwani wrote:
> Thanks Alex, that helps a lot :) Simple isn't it rails server -p 80 :
http://railscasts.com/episodes/221-subdomains-in-rails-3
I didn't read all the basic DNS questions, but hopefully somebody
pointed out that example.com won't be accessible externally.
On Apr 21, 2:54 pm, Manoj Sachwani wrote:
> Thanks Alex, that helps a lot :) Simple isn't it rails server -p 80
That's right. I did it. Shame on me for not reading carefully the
documentation.
Thank you guys.
On Thu, Apr 21, 2011 at 10:09 AM, Frederick Cheung <
frederick.che...@gmail.com> wrote:
>
>
> On 20 Apr 2011, at 20:17, Federico Rota wrote:
>
> Well, when I run .databases i see something like an em
Nevermind the dev machine hosts part figured that one out :) thanks to
Alex Katebi
On Apr 21, 11:50 pm, Manoj Sachwani wrote:
> Hi,
>
> I would like to have something like basecamp
> (subdomain.basecamphq.com) for my project. How can achieve that? Are
> there any gems that help me do that? Also h
Thanks Alex, that helps a lot :) Simple isn't it rails server -p 80 :P
Thanks again, any idea how I can achieve subdomains like basecamp
does? username.basecamphq.com
On Apr 21, 8:54 pm, Alex Katebi wrote:
> Start your rails server with http default port 80:
> rails server -p 80
> Now example.com
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 rails? Any help
> will be appreciated.
I'm not sure if it supports i-pay, but active_merchant is the place to
start. Writing a new backend isn't too tough (I had to do one a f
Hi,
I would like to have something like basecamp
(subdomain.basecamphq.com) for my project. How can achieve that? Are
there any gems that help me do that? Also how do I tackle it on a dev
machine where I only have access localhost:3000 even if I use the
hosts file, I cannot use the port number, an
To start with HTML and CSS you'll find excellent tutorials here:
http://www.w3schools.com/
teaching how to make clean and compliant programming
or also here
http://www.sitepoint.com/
to Rails with indications on where to find Ruby tutorials here:
http://ruby.railstutorial.org/ruby-on-rails-tutoria
I would like to transform an xml node into a RoR model but I don't
know how to start ..
I started using Nokogiri ( easy for newbie to get simple needs ...
but this one is more complex for my current level of understanding ...
xml node :
en_GB
Found the solution!
http://www.robbyonrails.com/articles/2009/02/11/switch-to-passenger-mod_rails-in-development-on-osx-in-less-than-7-minutes-or-your-money-back
The Fix:
the fix is to make a symlink from where Ruby is installed to where the
Passenger Pane expects it to be installed.
NOTE: Befo
Found the solution:
http://www.robbyonrails.com/articles/2009/02/11/switch-to-passenger-mod_rails-in-development-on-osx-in-less-than-7-minutes-or-your-money-back
The Fix:
the fix is to make a symlink from where Ruby is installed to where the
Passenger Pane expects it to be installed.
NOTE: Be
Hi Colin,
Now I'm getting errors from my routes.rb file, which is promising! I'll
let you know whether it ends up working well after I fix the bugs.
Thank you,
- Peter
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Rub
Should we get a BS or a PHD in DNS?
When did you become a cyber cop?
On Mon, Apr 18, 2011 at 7:03 AM, Peter De Berdt
wrote:
>
> On 18 Apr 2011, at 11:51, amrit pal pathak wrote:
>
> I am new to ruby on rails and running rails 2.3.5.My application is
> running at localhost:3000 ,but i want it shou
I have a mac, and I saw something about MacRuby, is it good? is it the same
as any other way of programming for web with ruby on rails?
--
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@
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 :)
On Tue, Apr 19, 2011 at 11:57 AM, amrit pal pathak <
amritpalpath...@gmail.com> wrote:
>
>
> On Apr 19, 4:09 am,
The Rails part of Ruby on Rails is a web framework so as such is
really only for web development.
Ruby however can do almost anything but you would have to pick a new
framework for desktop applications (such as GTK or wx or Fox or ...)
and again for mobile development. Actually I don't know of a m
Also, just out of curiosity, is ruby on rails just for web applications or I
can build on desktop or mobile or anything else?
--
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@googlegrou
Thank you.
I had more answers at the Django group, but your answer was far more
superior than Djangos. When I asked there about python vs ruby they just
said it was a stupid question...
One more question, do you know any tutorial, book or class (video classes
like opencourseware) that I can use t
On Apr 21, 4:32 pm, Clem Rock wrote:
> I'm geting this permissions related output:
>
Easiest thing is probably to reinstall the preference pane
Fred
> Apr 21 10:54:18 clem-c-rock-2 System Preferences[52999]: Applying
> changes to Rails application:
> /Library/WebServer/Documents/ROR_tests/file_
I'm geting this permissions related output:
Apr 21 10:54:18 clem-c-rock-2 System Preferences[52999]: Applying
changes to Rails application:
/Library/WebServer/Documents/ROR_tests/file_upload_progress1
Apr 21 10:54:18 clem-c-rock-2 System Preferences[52999]: Starting Rails
application:
/Library/Web
I tried all of these:
tail -f /var/log/system.log
tail -f /private/var/log/apache2/error_log
tail -f /private/var/log/apache2/access_log
as well as the console and, so far, I'm not seeing anything relevant.
Frederick Cheung wrote in post #994303:
> On Apr 20, 9:51pm, Clem Rock wrote:
>>
>>
On Apr 21, 4:10 pm, clem_c_rock wrote:
> Finally found out which console it was mentioning (utilities/console) and
> when I find the output I get this permissions related output:
>
That sounds like the preference pane has an embeded helper app that it
uses for things that require root access and
Finally found out which console it was mentioning (utilities/console) and
when I find the output I get this permissions related output:
Apr 21 10:54:18 clem-c-rock-2 System Preferences[52999]: Applying changes to
Rails application:
/Library/WebServer/Documents/ROR_tests/file_upload_progress1
Apr
On Apr 20, 9:51 pm, Clem Rock wrote:
> Frederick,
> Thanks for your help as always.
>
> I adding the PassengerEnabled directive inside the location block as
> such:
>
>
> # enable upload progress reports in /progress
> PassengerEnabled off
> ReportUploads On
>
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 version and: rails g uploader Avatar command works in that
version. I think this m
On Apr 20, 12:55 pm, Walter Lee Davis wrote:
> On Apr 20, 2011, at 12:31 PM, amrit pal pathak wrote:
>
> >> Here you go. Amazing what you find on the Internet these days.
>
> >>http://tinyurl.com/3bp7nsh
> > It tells to run the app on different ports,but i want to run it
> > without giving
On Apr 21, 8:40 am, Colin Law wrote:
> On 21 April 2011 12:42, amrit pal pathak wrote:
>
> > ...
> > Then i put some entries into form and try to
> > check table at back end(mysql) and did
> > use production
> > select * from people(it g
On 21 Apr 2011, at 14:30, clem_c_rock wrote:
I have a feeling that this is something centered around my apache/
Passenger
configurations but everything seems to check out.
Another off the hand problem I'm having, and might be a clue is w/ my
Passenger Pane. I installed the Phusion Passenger
Hey,
Just wanna know if any one has ever implemented i-pay with rails? Any help
will be appreciated.
Thanks,
Shahroon
--
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
daze wrote in post #994152:
> Okay, but it doesn't have to be AUTOMATIC... I mean Facebook has a
> very nice "show more" button at the bottom of its news feed so you
> only show more if you want to.
>
> And I could potentially have an unordered list of hundreds of
> things so I don't think the
On Wed, Apr 20, 2011 at 7:19 PM, Rodrigo Ruiz wrote:
> Hi, I'm a new programmer and I want to make a social network like
> facebook or orkut.
>
>
Welcome to being a new programmer and I can see you have already set a lofty
goal for yourself. It's good to have ambition. :-)
> I only know the bas
On Apr 21, 5:08 am, cipher_neo wrote:
>
> I had a lot of issues at the start with the mysql install, and had to
> try out a lot of different versions of the libmysql.dll file.
>
That is the first mistake.
Try out anything under the sun is a potential root of segfaults.
Binaries are very "picky"
On 21 April 2011 12:42, amrit pal pathak wrote:
> ...
> Then i put some entries into form and try to
> check table at back end(mysql) and did
> use production
> select * from people(it gave table is
> empty) why?
> but all entries went int
Colin Law wrote in post #994277:
>>
>>
>> I want to be able to upload an XML file to a directory and schedule my
>> application to parse this XML file to a database every ~15 minutes.
>
> What is the point of scheduling the parse every 15 minutes, would it
> not be better to do it just when the fil
On 21 April 2011 10:00, Pale Horse wrote:
> It'd be interesting and useful for me to have your input on this:
>
> Currently I have a basic rails app that does nothing particularly
> special.
>
> I want to be able to upload an XML file to a directory and schedule my
> application to parse this XML
I have a feeling that this is something centered around my apache/Passenger
configurations but everything seems to check out.
Another off the hand problem I'm having, and might be a clue is w/ my
Passenger Pane. I installed the Phusion Passenger Pane and every time I
try to add an entry, I get
Hi all,
Create a simple application where user can have many albums and album
can have many photos. User should be able to upload multiple photos
while creating new album by clicking on "Add More Photo". Photos can
also have tags(comma separated). Thumbnails must be created for each
photo after up
*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 through dbi but now its
arise same error. *
*In irb*
*Trying with Sequel:*
On Apr 20, 12:36 pm, Colin Law wrote:
> On 20 April 2011 17:21, amritpal pathak wrote:
>
>
>
>
>
>
>
>
>
> > I want to enable production enviornment for my appication.The content of
> > database.yml file is as
>
> > # SQLite version 3.x
>
> > # gem install sqlite3-ruby (not necessary on OS
hi , I want to integrate Amazon's FPS service in my app.
I have found remit gem is best for that.
When I am trying to install that gem it gives me some errors.
Can anybody suggest me that particular gem is available for rails 3.0.6 or
not?
Please reply me as early as possible.
--
You received t
well, I just want to thanks this forum, I have send very some basic
questions lately, I really got great responses, and great links
I have just made my first RoR worked, great feeling.
please keep helping the new comer to RoR
--
Posted via http://www.ruby-forum.com/.
--
You received this messag
My Application stack trace
-
/usr/lib/ruby/1.8/net/http.rb:586:in `connect'
/usr/lib/ruby/1.8/net/http.rb:586:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:542:in `start'
/usr/lib/ruby/1.8/net/http.rb:1035:in `__reque
On Apr 21, 9:37 am, sadgb wrote:
> looked up, but no result... maybe you got some sample ?
>
That is the sample - if you look at that file it points you at the bit
of activerecord which hooks into that. You should be able to mimic
that.
Fred
>
On 21 апр, 01:24, Frederick Cheung wrote:
>
>
>
>
It'd be interesting and useful for me to have your input on this:
Currently I have a basic rails app that does nothing particularly
special.
I want to be able to upload an XML file to a directory and schedule my
application to parse this XML file to a database every ~15 minutes.
My questions are
Personally I go with Nokogiri for the parsing and just use crons (on
Linux and OS X) for scheduling.
--
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 fr
It'd be interesting and useful for me to have your input on this:
Currently I have a basic rails app that does nothing particularly
special.
I want to be able to upload an XML file to a directory and schedule my
application to parse this XML file to a database every ~15 minutes.
My questions are
looked up, but no result... maybe you got some sample ?
On 21 апр, 01:24, Frederick Cheung wrote:
> On Apr 20, 5:44 pm, sadgb разумовский wrote:
>
> > Hi.
> > Sorry for my terrible english.
> > When user makes request to your server in log you could see smth like
>
> > Completed 200 in 134 ms (V
On 20 Apr 2011, at 20:17, Federico Rota wrote:
> Well, when I run .databases i see something like an empty grid clearly
> indicating that there is no database.
> I think i should see my rails' databases (the ones resulting populated from
> rails console as i said before).
You misunderstand w
Well, I only moved to mongrel as I thought that webrick was the
culprit for the app crashing.
When I ran on webrick, previously, the app still crashed like it does
now.
It still crashes now, but I don't think that mongrel has anything to
do with it.
I had a lot of issues at the start with the m
On 21 April 2011 08:23, Hemant Bhargava wrote:
> Hello All,
>
> I need some explanation about iso8601 format. Googled it but did'nt
> found as i wanted.
>
> Actually, i have a table called abc, columns are idate (type date) and
> itime (type time). I concatenated them like this,
>
> date_time = se
On 21 Apr 2011, at 02:11, Pepe Sanchez wrote:
> Hi all
>
> I have a Gemfile with this value
>
> gem 'mysql2'
>
>
> but when I run this command '$ bundle install' on my host they said
> that
>
> "The command "bundle install --local" seems to be returning mysql2
> dependency error now. Unfo
Hello All,
I need some explanation about iso8601 format. Googled it but did'nt
found as i wanted.
Actually, i have a table called abc, columns are idate (type date) and
itime (type time). I concatenated them like this,
date_time = self.idate + " " + self.time
and passed it as a parameter to a f
Hi, I'm a new programmer and I want to make a social network like
facebook or orkut.
I only know the basics of C and a bit of Objective-C (OOP). I know
nothing about web programming.
My question is what should I use, ruby on rails or python with django?
I know it is a ruby on rails group, so I kn
It seems to be an issue with how much stuff Google sends back.
We ended up using Mongrel as a work-around in development by adding
this
gem "mongrel", "1.2.0.pre2", :group => :development
to the Gemfile.
And we use Passenger in production without any issues with OmniAuth.
Andrew
On Apr 15, 9:
68 matches
Mail list logo