[Rails] Re: Asset link in production is incorrect

2011-09-09 Thread Joshua Partogi
, and   config.assets.digest = true In your production.rb? -GR On Sep 8, 2011, at 9:56 AM, Joshua Partogi wrote: Hi there, So I am using Rails 3.1.0 in production. However the asset link that is produced is: link type=text/css rel=stylesheet media=screen href=/stylesheets/application.css

[Rails] Asset link in production is incorrect

2011-09-08 Thread Joshua Partogi
Hi there, So I am using Rails 3.1.0 in production. However the asset link that is produced is: link type=text/css rel=stylesheet media=screen href= /stylesheets/application.css Instead of: link type=text/css rel=stylesheet media=screen href= /assets/application-md5hash.css I am using this

[Rails] The development env is loaded before the test env when running unit test

2010-10-12 Thread Joshua Partogi
HI all, When I print Rails.env in one of my initializer, I noticed that the dev env is loaded first before the test env. There are some bits that I don't want to run for unit testing (i.e background job). Is there any way to setup Rails not to run the development env when unit test is ran?

[Rails] The development env is loaded before the test env when running unit test

2010-10-12 Thread Joshua Partogi
HI all, When I print Rails.env in one of my initializer, I noticed that the dev env is loaded first before the test env. There are some bits that I don't want to run for unit testing (i.e background job). Is there any way to setup Rails not to run the development env when unit test is ran?

[Rails] Re: Rails and database connection pooling

2010-09-16 Thread Joshua Partogi
Thanks Nick. You have been really helpful. I am just trying to figure out how this is different to connection pooling in the Java land. =) Cheers, Joshua. On Sep 16, 11:12 pm, Nick Sieger nicksie...@gmail.com wrote: On Wed, Sep 15, 2010 at 5:08 PM, Joshua Partogi joshua.part...@gmail.com

[Rails] Re: Rails and database connection pooling

2010-09-15 Thread Joshua Partogi
 am, Nick Sieger nicksie...@gmail.com wrote: On Sun, Sep 5, 2010 at 8:57 AM, Joshua Partogi joshua.part...@gmail.com wrote: Hi all, I am interested to learn more about connection pooling in rails. Is there any good articles about this? I want to know specifically how is connection

[Rails] Rails and database connection pooling

2010-09-05 Thread Joshua Partogi
Hi all, I am interested to learn more about connection pooling in rails. Is there any good articles about this? I want to know specifically how is connection pooling in rails works. Does rails open one connection to the database for every user that is connected or does every user share the same

[Rails] Where's the old rails guide?

2010-08-31 Thread Joshua Partogi
Hi everyone, Now that rails 3 is out and everyone is excited, does anybody know where's the 2.3 guide went? Thanks heaps. Joshua -- http://twitter.com/scrum8 -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send

[Rails] in production environment Rails 2.3 always ask for helpers

2010-07-27 Thread Joshua Partogi
Hi all, When I deploy my rails apps in production, it will barf out an error message if my controller does not have any helper. But this does not happen in development environment. Is there something that I can configure through rails so production does not ask for helpers for every controller?

[Rails] Re: Library under lib/ is not loaded anymore with Rails 3 beta 4

2010-06-28 Thread Joshua Partogi
Ok got it now. I think you have to explicitly require the ruby file now. Regards, Joshua. On Jun 28, 2:10 pm, Joshua Partogi joshua.part...@gmail.com wrote: Hi all, Has there been changes in the way Rails 3 loading the libraries under lib/ Suddenly after the upgrade, all the library under

[Rails] Library under lib/ is not loaded anymore with Rails 3 beta 4

2010-06-27 Thread Joshua Partogi
Hi all, Has there been changes in the way Rails 3 loading the libraries under lib/ Suddenly after the upgrade, all the library under the lib/ is not loaded anymore. Does anyone experience this issue as well? Or is it just my delusion? Thanks for your help. Kind regards, Joshua. --

[Rails] Rails authentication from non-web interface

2010-06-14 Thread Joshua Partogi
Hi all, I want to authenticate my mobile phone apps to my online Rails apps. What would be the best approach to do this? Can anybody give suggestion both on how I should do it in the mobile app and in the rails app? Thank you very much for your help. Kind regards, Joshua --

[Rails] Re: Rails authentication from non-web interface

2010-06-14 Thread Joshua Partogi
Hi Bill, Thank you for the hint and explanation. That really helps. I will try from here. =) Kind regards, Joshua. On Jun 14, 10:26 pm, Bill Walton bwalton...@gmail.com wrote: Hi Joshua, On Mon, Jun 14, 2010 at 7:12 AM, Joshua Partogi joshua.part...@gmail.com wrote: Hi all, I want

[Rails] Validating form that is not bounded to Model

2010-06-02 Thread Joshua Partogi
Hi all, I would like to validate a form, but this form is not bounded to a Model? What would be the best approach to do this in Rails? I tried to look in the Rails guide with no luck. Can anybody share their experience please? Thank you very much in advance. Kind regards, Joshua --

[Rails] Re: Showing 404 page from controller in Rails 3

2010-06-01 Thread Joshua Partogi
. Kind regards, Joshua On Jun 1, 3:10 am, Mirko batam...@gmail.com wrote: Do you mean rescuing or raising ActiveRecord::NotFound? On Jun 1, 4:54 am, Jeffrey L. Taylor r...@abluz.dyndns.org wrote: Quoting Joshua Partogi joshua.part...@gmail.com: Hi all, I want to be able to display 404 page

[Rails] Showing 404 page from controller in Rails 3

2010-05-31 Thread Joshua Partogi
Hi all, I want to be able to display 404 page from a controller when a record in the database can not be found. I am using Rails 3 at the moment. I tried to find how to do this on guides.rails.info with no luck. Can anybody recommend the best approach to do this? Thanks heaps for your help and

[Rails] Re: Looking for Easy Rails hosting

2010-05-24 Thread Joshua Partogi
On May 21, 11:29 am, Marnen Laibow-Koser li...@ruby-forum.com wrote: Also cloud hosting is more expensive than 'classic' hosting unless you plan on being the next Facebook... Nope.  Look at Rackspace Cloud's pricing and say that again with a straight face. Actually Rackspace cloud can

[Rails] Saving Restful routes path in database

2010-05-18 Thread Joshua Partogi
Dear all, I would like to save a restful resource in the database, and display it as a link on the web page. I tried saving: bar_path(1) into the path column in the table, but unfortunately it doesn't work when I display it like this: %= link_to 'bar', bar.path %  Is this possible with rails?

[Rails] Re: Looking for Easy Rails hosting

2010-05-18 Thread Joshua Partogi
IMHO Heroku is pretty simple. Kind regards, Joshua On May 19, 1:22 am, Mohammed Alenazi vb4...@gmail.com wrote: Hi I have registered for some paid rails hosting  system that uses cpanel to deploy the rails apps. I could not deploy my app/ I tried several times with no success. Does any

[Rails] Re: Saving Restful routes path in database

2010-05-18 Thread Joshua Partogi
Hi Tim, Thank you for the response. Currently it display the plain text of the route method: bar_path(1) instead of: /bar/1 When I looked in the database it saved as String. Do I need to convert it into a method? Sorry for the vague question and thanks heaps for your help. Kind regards,

[Rails] Rails 3: Get the original filename from file uploads

2010-05-09 Thread Joshua Partogi
Hi all, I am currently using Rails 3 and I am using it to upload a file. How do I get the original filename using Rails 3? Because when I use File.basename(), what I get is RackFileUpload and not the original filename. Has anyone done this before and can share it with us here? Kind regards,

[Rails] How many connection pool should we have for internet facing apps?

2010-04-28 Thread Joshua Partogi
Hi all, This is a rather basic question about connection pooling in ruby on rails. In rails we can define the connection pool in database.yml. I assume it is quite safe to hardcode this value for intranet application since we would know how many users that will be using the apps. But for an

[Rails] Is it possible to generate a breadcrumb from Rails controller?

2010-04-21 Thread Joshua Partogi
Dear all, Is it possible to generate a breadcrumb from Rails controller without using any additional plugin? What methods should I look into to be able to generate breadcrumb in Rails? Thank you very much in advance for your assistance. Kind regards, Joshua -- http://twitter.com/scrum8 --

[Rails] Re: Get subdomain from action controller

2010-04-19 Thread Joshua Partogi
'current_subdomain' method to use in controllers On Mon, Apr 19, 2010 at 10:35 AM, Joshua Partogi jpart...@scrum8.comwrote: Hi all, Is it possible to get the subdomain of the request from the action controller? If so, how do we get the subdomain from Rails action controller? I tried

[Rails] What is the best way to test subdomain routes in Rails3 development

2010-04-18 Thread Joshua Partogi
Hi all, In Rails3 we can define a constraint for subdomain as such: constraints(:subdomain = support) do ... end But if we are using development web server like webrick, how would we be able to test it? Anybody has got any hint or insights on this? Your help is kindly appreciated. Kind

[Rails] Get subdomain from action controller

2010-04-18 Thread Joshua Partogi
Hi all, Is it possible to get the subdomain of the request from the action controller? If so, how do we get the subdomain from Rails action controller? I tried to look at the Rails guide about this but can not find any information on this. Thank you very much in advance for your help and

[Rails] continue save after before_update observer

2010-03-31 Thread Joshua Partogi
Hi all, I have a before_update observer method. But after that method is finished, it doesn't proceed to ActiveRecord's save method. What do I need to write in my before_update observer method to make it proceed to the ActiveRecord save method. This is what I wrote but it caused stack level too

[Rails] Action resource delete method is not working since upgrade to Rails 3 beta

2010-03-15 Thread Joshua Partogi
Hi guys, I just upgraded my application to use Rails 3. But after the upgrade my delete/destroy method is not working anymore. Anybody experience the same thing as I do? What changes needed to be done in order to make this delete/destroy method to work again? Thank you very much for your

[Rails] Instantiating Controller Object on Rails3 for unit testing

2010-03-08 Thread Joshua Partogi
Dear all, I am experiencing this error when doing unit testing: Authlogic::Session::Activation::NotActivatedError: You must activate the Authlogic::Session::Base.controller with a controller object before creating objects I know this is not an error from Rails but I encounter this when doing

[Rails] Display human readable time

2010-03-07 Thread Joshua Partogi
Hi everyone. Does anybody know a good plugin for displaying a human readable time. I like the ones on github. Django also has this built in, but I can not find it for rails. Can anybody tell me a good plugin for this? Thank you for your help. Kind regards, -- http://twitter.com/scrum8 --

[Rails] Re: Display human readable time

2010-03-07 Thread Joshua Partogi
  wrote: On 7 March 2010 09:19, Joshua Partogi joshua.part...@gmail.com wrote: Hi everyone. Does anybody know a good plugin for displaying a human readable time. I like the ones on github. Django also has this built in, but I can not find it for rails. Can anybody tell me a good plugin

[Rails] What is the appserver for production that works best with Rails3?

2010-02-11 Thread Joshua Partogi
Hi all, In development I used webrick, but I suppose I don't want to use that in production. With rails2 I would use mongrel or thin. But as far as I know, mongrel is no longer developed? So are we left to thin these days? Does thin plays nicely with Rails3? What is your latest experience on

[Rails] Re: What is the appserver for production that works best with Rails3?

2010-02-11 Thread Joshua Partogi
Cool. Thanks for that. I've never heard of it before. I'll try it this weekend. Regards, On Feb 12, 11:48 am, Conrad Taylor conra...@gmail.com wrote: On Thu, Feb 11, 2010 at 4:45 PM, Rick DeNatale rick.denat...@gmail.comwrote: On Thu, Feb 11, 2010 at 6:29 PM, Joshua Partogi joshua.part

[Rails] Re: Soft Deletes

2009-11-24 Thread Joshua Partogi
On Nov 21, 3:16 am, Mike Gehard m...@samyamatech.com wrote: Hello all, I am wondering how people here are handling soft deletes in Rails. I've need a couple of gems/plugins that seem to handle this but from what I gather development has stopped on them. All I need to do right now is mark

[Rails] Re: How do we create functional test when the model has association

2009-11-22 Thread Joshua Partogi
On Nov 21, 7:50 pm, Frederick Cheung frederick.che...@gmail.com wrote: On Nov 21, 12:40 am,JoshuaPartogi joshua.part...@gmail.com wrote: This is how my test code looks like: assert_difference('Sprint.count') do post(:create, :sprint = {:project_id = '', :goal = 'Deliver usable

[Rails] How do we create functional test when the model has association

2009-11-20 Thread Joshua Partogi
Hi all, I want to test my controller, but unfortunately the model that has association to other model. I already have setup the parameter in the test code but encounter this error: 1) Error: test_create(SprintsControllerTest): ActiveRecord::StatementInvalid: SQLite3::SQLException:

[Rails] How do we do functional test in Rails?

2009-11-18 Thread Joshua Partogi
Hi all, I've just started doing functional testing in Rails. I want to test my controller whether it displays the page correctly or not. This is the test code that I have written: fixtures :all def test_index get(:index, {'code' = 'PR', 'project_id' =

[Rails] Re: How do we do functional test in Rails?

2009-11-18 Thread Joshua Partogi
Hi all, Thanks for the help and assistance. I'm not sure why. But when I configured whiny_nils to false, the tests runs. Best regards, On Nov 19, 10:23 am, pharrington xenogene...@gmail.com wrote: Well, if there are no rows in the projects table whose code column is PR, Project.find_by_code

[Rails] Recommended security framework for Rails 3

2009-10-21 Thread Joshua Partogi
Hi all, I was wondering whether anyone has any recommendable security framework that works with Rails 3. I have tried authlogic and it seems not working. Is there any other option out there? Thanks for your help. -- Certified Scrum Master http://blog.scrum8.com | http://jobs.scrum8.com |

[Rails] What is the lib/ folder in my rails app for?

2009-10-20 Thread Joshua Partogi
hi all, When I generate a rails app, there is a lib/ folder underneath it. Now what is exactly this lib/ folder for? When I put the rack library there, it is not scanned by RoR. Actually to expand this matter, I want to be able to put non-Rails plugin to be available for Rails and my app (e.g

[Rails] Test rails model with Cucumber?

2009-10-13 Thread Joshua Partogi
Hi all, Can I test my rails model with cucumber? Or is this not what cucumber is used for? If it is, can anyone lead me to documentation on how to use cuke to test Rails model please. I have read the cuke wiki rails section, but I still can not understand how to use cuke to test my model. Many

[Rails] Re: Test rails model with Cucumber?

2009-10-13 Thread Joshua Partogi
Hi Marnen, On Oct 14, 12:55 am, Marnen Laibow-Koser rails-mailing-l...@andreas-s.net wrote: Joshua Partogi wrote: Hi all, Can I test my rails model with cucumber? Or is this not what cucumber is used for? If it is, can anyone lead me to documentation on how to use cuke to test Rails

[Rails] Re: Overwriting default accessors

2009-10-12 Thread Joshua Partogi
Hi Marnen On Oct 12, 3:04 pm, Marnen Laibow-Koser rails-mailing-l...@andreas-s.net wrote: Joshua Partogi wrote: On Oct 12, 10:31 am, Marnen Laibow-Koser rails-mailing-l...@andreas-s.net wrote: end This won't quite work. But before I try to improve it...what are you trying to do

[Rails] Re: Overwriting default accessors

2009-10-12 Thread Joshua Partogi
On Oct 13, 2:24 am, Marnen Laibow-Koser rails-mailing-l...@andreas-s.net wrote: Then you want something like def status=(value) new_value = do_something_to(value) self[:status] = new_value # assuming this class is derived from AR end The reason your attempt to do status = value didn't

[Rails] Overwriting default accessors

2009-10-11 Thread Joshua Partogi
Hi all, Coming from the Java Hibernate world, I was confused when trying out this piece of line of code: class Task ActiveRecord::Base def status=(status) status = 'P' write_attribute(:status, status) end end I suspect that the value of :status in the database would be P, because

[Rails] Re: Overwriting default accessors

2009-10-11 Thread Joshua Partogi
On Oct 12, 10:31 am, Marnen Laibow-Koser rails-mailing-l...@andreas-s.net wrote: Joshua Partogi wrote: Hi all, Coming from the Java Hibernate world, I was confused when trying out this piece of line of code: class Task ActiveRecord::Base def status=(status) status = 'P

[Rails] constant ActionView::Base::Subclasses::MainController not defined

2009-10-07 Thread Joshua Partogi
Dear all, Today I've just checked-out Rails version 3 and when I have generated scaffold, and open my apps from the browser, I encountered this error: NameError in MainController#index constant ActionView::Base::Subclasses::MainController not defined Where do I defined this constant? Does

[Rails] Re: constant ActionView::Base::Subclasses::MainController not defined

2009-10-07 Thread Joshua Partogi
On Oct 8, 12:52 am, Greg Donald gdon...@gmail.com wrote: On Wed, Oct 7, 2009 at 8:11 AM, Joshua Partogi joshua.part...@gmail.com wrote: Today I've just checked-out Rails version 3 Where did you get this version 3 ? As far as I know it's not been released. Greg, I checked-out the latest

[Rails] Re: Jruby + SQLserver

2009-07-06 Thread Joshua Partogi
On Jul 6, 10:05 pm, Augustus Costa augustusco...@gmail.com wrote: Somebody alredy work with this?May work don´t autocommit. Why i make this? unfortunately my db is SQLserver. You can use JRuby and SQL Server with ActiveRecord JDBC http://rubyforge.org/projects/jruby-extras/ What do you

[Rails] Re: Getting bleeding edge rails

2009-05-22 Thread Joshua Partogi
On May 22, 5:14 pm, Frederick Cheung frederick.che...@gmail.com wrote: put what you have cloned from github into vendor/rails (or symlink vendor/rails to your checkout from github) Thanks Frederick. But how come I don't get the 3-0-0-unstable branch ? Join Scrum8.com.

[Rails] Re: Getting bleeding edge rails

2009-05-22 Thread Joshua Partogi
On May 23, 12:14 am, Frederick Cheung frederick.che...@gmail.com wrote: On May 22, 2:45 pm, Joshua Partogi joshua.j...@gmail.com wrote: On May 22, 5:14 pm, Frederick Cheung frederick.che...@gmail.com wrote: put what you have cloned from github into vendor/rails (or symlink vendor

[Rails] Getting bleeding edge rails

2009-05-21 Thread Joshua Partogi
Dear all, I would like to work on the latest rails version from github. I have pulled it and set my $GEM_PATH to where I pulled it : /home/joshua/rails/ But when I worked on it, gem barfed out and did not recognize it. But when I typed: gem environment, it displayed /home/joshua/rails/ as my

[Rails] Rails developer salary rate in USA

2009-05-18 Thread Joshua Partogi
Hi everyone, I'm currently looking for opportunity for a rails career in USA (Note: I've never been to US in my entire life). Now can anyone give me a ballpark figure of the salary rate as a rails developer in the US? I've tried looking around in rails job boards but can not find an estimate of

[Rails] Re: Rails developer salary rate in USA

2009-05-18 Thread Joshua Partogi
On May 19, 1:06 am, Marnen Laibow-Koser rails-mailing-l...@andreas- s.net wrote: Joshua Partogi wrote: Hi everyone, I'm currently looking for opportunity for a rails career in USA (Note: I've never been to US in my entire life). Then don't you think you should at least visit before

[Rails] Rails 3.0 release?

2009-05-14 Thread Joshua Partogi
All, Is Rails 3.0 officially released yet? Because as far as I remember it is scheduled to be release after RailsConf. I don't see any announcements or whatsoever though. Does anybody know the status of Rails 3.0? Perhaps those that went to RailsConf can give us some idea about it. Regards. --

[Rails] Re: Rails 3.0 release?

2009-05-14 Thread Joshua Partogi
On May 14, 5:55 pm, Conrad Taylor conra...@gmail.com wrote: Joshua, Rails 3.0 is not officially released at this time.  Thus, I would recommend viewing DHH keynote here: http://railsconf.blip.tv/file/2081411/ Thanks for the redirection Conrad. :-) Cheers.

[Rails] Rails plain ajax

2009-05-06 Thread Joshua Partogi
Dear all, Does anybody know a good reference for sending ajax request to rails without using the rails ajax helper? I want to use other framework, namely jQuery. Because without using the ajax helper from rails I encounter an authenticity error from rails. Thank you very much in advance, -- If

[Rails] Session id length in sessions table

2009-05-05 Thread Joshua Partogi
Dear all, I just created session with rake db:sessions:create and run the migration also. When I run my apps, my db barfed out saying that the length of session_id is too long. When I checked into my db, the length of session_id column in the sessions table, it was 255 of character varying. I

[Rails] Re: Session ID too long

2009-05-05 Thread Joshua Partogi
Yeah I got that problem too and I just alter the column to be varchar (500) :-( On May 5, 9:55 pm, César Díaz rails-mailing-l...@andreas-s.net wrote: Hi, I have a problem with the Session ID in my Rails application. I need to store some data of anonymous users and then, when the session

[Rails] Rails on amazon EC2

2009-04-27 Thread Joshua Partogi
Dear all, Is there anyone that deploys their Rails apps on amazon EC2? I read from AWS website that they have Rails on EC2. Can anyone that use Amazon services share their experience with Rails on EC2? Thank you very much -- If you can't believe in God the chances are your God is too small.

[Rails] Re: rubyonrails.org is down?

2009-04-23 Thread Joshua Partogi
The domain is being parked. On Apr 23, 2:12 pm, kallep johan.post...@gmail.com wrote: I get a  sponsored link page then i visithttp://www.rubyonrails.org . Only me? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Rails] Recommended webserver for deploying Rails

2009-03-17 Thread Joshua Partogi
Dear all, What is the best architecture in terms of performance for Rails. Is lighttpd + mongrel the most recommended deployment architecture for Rails? Or is there any better architecture that outperform this architecture? Thank you very much in advance. -- If you can't believe in God the

[Rails] Adding the conditions when parameter is available

2009-02-28 Thread Joshua Partogi
Hi all, How do we add a conditions in a ActiveRecord find method when the parameter is available? Lets say I want to add this category conditions when the parameter from the client: Product.find(:all, :conditions = [ c.id = ?, params[:catid]) Can we dynamically add that conditions to the find

[Rails] Re: Adding the conditions when parameter is available

2009-02-28 Thread Joshua Partogi
Wow this is a very clean approach. Trying this one out. :-) Thanks heaps. On Mar 1, 12:35 pm, Michael Graff skan.gryp...@gmail.com wrote: I often do the brute-force approach:   cond_string = []   cont_hash = {}   if params[:search_name]     cond_string (name ILIKE :name)    

[Rails] Re: Eager fetching returning JSON results

2009-02-14 Thread Joshua Partogi
Darn, I returned an array object besides that products instance, giving that to_json will give backslashes to the quotes. On Feb 14, 9:31 pm, Frederick Cheung frederick.che...@gmail.com wrote: On Feb 14, 1:26 am, Joshua Partogi joshua.j...@gmail.com wrote: All, I have a many_to_one

[Rails] Eager fetching returning JSON results

2009-02-13 Thread Joshua Partogi
All, I have a many_to_one relationship object between products and categories and I want to return the category too using JSON results but it seems that rails only gives back the products JSON object on the view layer. This is the piece of code: @products = Product.find(:all, :include =

[Rails] Displaying JSON response in view

2009-02-05 Thread Joshua Partogi
Dear all, I'm totally new with Ajax and Rails. How do I display JSON objects that I get from the controller to the view. Is there any way we can display the JSON objects directly in the DOM, or do I have to manipulate the DOM to place the JSON objects upon successful Ajax call? I just hate

[Rails] Tutorials on Apache and Rails on mongrel

2009-01-26 Thread Joshua Partogi
Dear all, Could anyone refer me a good tutorial for setting up apache as the proxy for Rails apps that uses Mongrel? Thank you very much. -- If you can't believe in God the chances are your God is too small. Read my blog: http://joshuajava.wordpress.com/ Follow me on twitter:

[Rails] Defining A model that have two has_many

2009-01-18 Thread Joshua Partogi
Dear all, I am currently confused with defining model in Rails that has two has_many relationship. I have a model that is called Category, and this model will be used by two model which is Product and Blog. Would this definition make sense in rails ? Category has_many :product has_many

[Rails] Rails as RESTful web service

2009-01-11 Thread Joshua Partogi
Dear all, Is it possible to use rails as a RESTful web service? Has anyone done this before? Is there any drawback when doing this? Could anyone share their experiences? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails] Installing and using restful_auth

2009-01-08 Thread Joshua Partogi
Dear all, I've saw a plugin called restful_auth several times in rails community, but I couldn't find any resources on how to use it. Does anyone know how to install and use it? Help really appreciated. Best regards, --~--~-~--~~~---~--~~ You received this

[Rails] Re: Installing and using restful_auth

2009-01-08 Thread Joshua Partogi
Yes. I typed restful_auth because everyone use that. No wonder I can not find it on github. Thanks! On Jan 9, 2:40 am, Fernando Perez rails-mailing-l...@andreas-s.net wrote: Joshua Partogi wrote: Dear all, I've saw a plugin called restful_auth several times in rails community, but I

[Rails] Re: Rails apps packaging

2009-01-06 Thread Joshua Partogi
application.rb so that the gems are included there? On Jan 5, 3:19 pm, Joshua Partogi joshua.j...@gmail.com wrote: Well it moved the rails gems into the vendor/ directory in my apps, but it doesn't move other gems that I use in my application. On Jan 6, 1:57 am, Rob Lacey r

[Rails] Security framework

2009-01-06 Thread Joshua Partogi
Dear all, Could anyone refer me a good security framework in rails for authentication and authorization please? Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

[Rails] Rails apps packaging

2009-01-05 Thread Joshua Partogi
Dear all, How do I package a rails apps and distribute it? As I can see that rails library is installed inside the Ruby gem folder and not inside the apps. Now if I want to distribute this with my client, how can I include those gems inside the application lib/ ? Or in other case lets say I want

[Rails] Re: Rails apps packaging

2009-01-05 Thread Joshua Partogi
RobL Joshua Partogi wrote: Dear all, How do I package a rails apps and distribute it? As I can see that rails library is installed inside the Ruby gem folder and not inside the apps. Now if I want to distribute this with my client, how can I include those gems inside the application lib

[Rails] Re: One layout for entire apps

2008-12-29 Thread Joshua Partogi
Thank you all for the responses. I'm going to try it out first. Cheers On Dec 29, 3:27 am, Robby Russell ro...@planetargon.com wrote: On Sun, Dec 28, 2008 at 4:40 AM, Joshua Partogi joshua.j...@gmail.com wrote: Dear all, I am still new in rails, and I realised that in rails each model

[Rails] One layout for entire apps

2008-12-28 Thread Joshua Partogi
Dear all, I am still new in rails, and I realised that in rails each model has its own layout/template located under layouts/ Now my question is, is it possible to have only one layout for the entire apps instead of having separate one for each model? If so, is there any guide I can read about

[Rails] MySQL Adapter on Rails 2.2

2008-12-02 Thread Joshua Partogi
Hi all, I've been searching through the list about configuring MySQL adapter on Rails 2.2, and it seems that this question is asked over and over again without any solution :-D Why did Rails 2.2 made configuring the mysql driver so difficult? Why is it a move backward in Rails 2.2? Why isn't

[Rails] Re: MySQL Adapter on Rails 2.2

2008-12-02 Thread Joshua Partogi
I was talking about the mysql ruby driver is not come bundled and installing it manually is not easy too. On Dec 3, 12:04 am, Frederick Cheung [EMAIL PROTECTED] wrote: On Dec 2, 12:50 pm, Joshua Partogi [EMAIL PROTECTED] wrote: Hi all, I've been searching through the list about

[Rails] Rails on shared hosting

2008-12-01 Thread Joshua Partogi
Dear all, Has anyone run RoR on cPanel based shared hosting? I've got my RoR application on http://mydomain:10024/ Now I've uploaded all my Product model, view and controller. Then I tried hitting: http://mydomain:10024/products but it didn't work Is there any configuration I need to do on a