Re: [Rails] Ppecial characters are not being displayed in emails

2015-05-18 Thread Loganathan Sellapa
, but perhaps inside a mailer template it is not? Walter On May 16, 2015, at 2:45 PM, Loganathan Sellapa logana...@gmail.com wrote: Hi Walter, Just wanted to let you know ​,​ I​ ​have tried without html_safe already it didnt ​encode the in to lt.​ Regarding the second point, ​I need

Re: [Rails] Ppecial characters are not being displayed in emails

2015-05-16 Thread Loganathan Sellapa
device. On 16 May 2015 23:29, Walter Lee Davis wa...@wdstudio.com wrote: On May 16, 2015, at 1:15 PM, Loganathan Sellapa loganathan...@gmail.com wrote: Hi All, I have to send user profile password via email, where password will have special characters as below

Re: [Rails] Ppecial characters are not being displayed in emails

2015-05-16 Thread Loganathan Sellapa
: Okay, then try the %=h dummy_password % here instead. I thought that it was default in all contexts, but perhaps inside a mailer template it is not? Walter On May 16, 2015, at 2:45 PM, Loganathan Sellapa loganathan...@gmail.com wrote: Hi Walter, Just wanted to let you know ​,​ I

[Rails] Ppecial characters are not being displayed in emails

2015-05-16 Thread Loganathan Sellapa
Hi All, I have to send user profile password via email, where password will have special characters as below *!@#$%^*()_-+=|{}[]/.,`* Whenever I send email, some of the special characters are not being displayed, I have used the *html_safe*, also set the meta tag as below, but special

Re: [Rails] Re: Real time Chat Application Using ROR 4,ruby 2.1.3,Mongodb

2015-03-11 Thread Loganathan Sellapa
You can try using RabbitMq/Faye. Refer below links which might help you https://github.com/loganathan-s/text-chat-using-faye-with-jquery-smiley-plugin https://github.com/loganathan-s/vide0-chat-using-tokbox https://railsfornovice.wordpress.com/2013/01/01/video-chatting-in-ruby-on-rails/

[Rails] [RAILS4] How to escape HTML characters in email in rails mailer

2015-03-05 Thread Loganathan Sellapa
Hi All, I want to escape some of my email contents which are all having special characters such as below, what is best way to do it, html_safe, h, raw didnt escape the HTML characters in mailer views. passwordpasswordbrdtest regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype:

[Rails] How log rotation works in rails

2015-01-01 Thread Loganathan Sellapa
Hi All, I have implemented the log rotation feature for my application, and I am seeing unexpected behaviors in the log rotation. *​config.logger =​ ​::​Logger.new('log/production.log', 3, 50.kilobytes)* *ASSUMPTIONS: * I have assumed that the above code will rotate the log whenever the log

Re: [Rails] Protecting the Ruby on Rails source code (encrypting and making the code compilable and not to view)

2014-06-28 Thread Loganathan Sellapa
You can use ruby encoder (http://rubyencoder.com) Regards, Logan Sent from mobile device On 28 Jun 2014 08:39, Sheyam Selvaraj smartshe...@gmail.com wrote: I am trying to implement my application in my client place and the application is developed in Ruby on Rails. Since I am going to

Re: [Rails] Ruby On Rails

2014-05-21 Thread Loganathan Sellapa
You need to place mysql client ddl file. Refer here http://stackoverflow.com/questions/8162322/set-up-rails-to-find-the-default-location-of-libmysql-dll. I installed ROR on windows sometime backa nd resolved the issue by placing the dll file. regards, Loganathan Mob: +91 7760780741 | +91

Re: [Rails] Ruby On Rails

2014-05-21 Thread Loganathan Sellapa
Did you set the Mysql username password in database.yml and can you able to login via mysql client directly? regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Thu, May 22, 2014 at 7:34 AM, Duong vong veasna

Re: [Rails] Ruby On Rails

2014-05-21 Thread Loganathan Sellapa
You need to place the user name and password in database.yml. database: dbname adapter: mysql2 encoding: utf8 pool: 5 username: mysql-username password: mysql-password socket: /var/run/mysqld/mysqld.sock regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype:

Re: [Rails] Ruby On Rails

2014-05-21 Thread Loganathan Sellapa
Whatever may be the OS, you need to configure the mysql credential in database.yml regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Thu, May 22, 2014 at 9:05 AM, Duong vong veasna veasnakhme...@gmail.comwrote: Thanks

Re: [Rails] Re: rails 4 link_to post method

2014-03-29 Thread Loganathan Sellapa
Hi, Can you copy your full routes.rb, I believe you should place the route at before the route resources :payment Regards, Logan Sent from mobile device On 29 Mar 2014 22:34, Me chabg...@gmail.com wrote: Route, post 'payments/:list_item_id', to: 'payments#buy', :as = :buy On Saturday,

Re: [Rails] GET/POST/PUT/DELETE

2014-03-03 Thread Loganathan Sellapa
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Tue, Mar 4, 2014 at 12:21 PM, Selvag Ruby li...@ruby-forum.com wrote: I trying to understand the purpose of each

Re: [Rails] Which Company is Best on Ruby on Rails Development in India?

2014-01-22 Thread Loganathan Sellapa
http://www.railsfactory.com/ regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Wed, Jan 22, 2014 at 3:05 PM, Adam Gilchrist adamgilchris...@gmail.comwrote: Hi all, I looking for best company on Ruby on Rails

Re: [Rails] Free ad space if you donate to RVM

2013-11-07 Thread Loganathan Sellapa
Rofl thread going to start again banglre ppl knw what I meant. Emil, For your safety dont discus further regarding his book cover... we tried it more than an yr nothin happened so far. Regards, Logan Sent from mobile device On 7 Nov 2013 22:21, Emil S emil.so...@gmail.com wrote: Just

[Rails] Fwd: How to save file to s3 after processing by ffmpeg using carrierwave

2013-09-23 Thread Loganathan Sellapa
HI All, I am trying to convert the bit rate of the Mp3 file before uploading to S3, I can able to create version for the mp3 file but the version is not saving in s3 instead original file is uploading to s3, any help would be really appreciated version :bitrate_96k do process :resample =

Re: [Rails] Fwd: How to save file to s3 after processing by ffmpeg using carrierwave

2013-09-23 Thread Loganathan Sellapa
http://vizualize.me/loganathan On Mon, Sep 23, 2013 at 6:02 PM, Colin Law clan...@googlemail.com wrote: On 23 September 2013 13:01, Loganathan Sellapa loganathan...@gmail.com wrote: HI All, I am trying to convert the bit rate of the Mp3 file before uploading to S3, I can able

Re: [Rails] How to capture IP address in ruby 1.8.7

2013-06-18 Thread Loganathan Sellapa
Can you copy your ruby script ? Regards, Logan Sent from mobile device On 18 Jun 2013 12:35, sameena Khan emailtosameenak...@gmail.com wrote: Thanks Rafi for your reply but can I use request.remore_addr directly like ip = request.remote_addr in ruby. it is saying undefined request local

Re: [Rails] Re: How to integrate Flickr with Rails

2013-05-13 Thread Loganathan Sellapa
http://railsfornovice.wordpress.com/2011/06/18/flickr-with-rails3/ regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Mon, May 13, 2013 at 3:07 PM, Maddy ashokku...@shriramits.com wrote: Hey guys Good Noon, Do you

Re: [Rails] Re: How to integrate Flickr with Rails

2013-05-13 Thread Loganathan Sellapa
great for me! http://bit.ly/125aEob -- Dheeraj Kumar On Monday 13 May 2013 at 3:09 PM, Loganathan Sellapa wrote: http://railsfornovice.wordpress.com/2011/06/18/flickr-with-rails3/ regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http

[Rails] PG CONNECTION TIME OUT ERROR

2013-04-08 Thread Loganathan Sellapa
Hi All, I am frequently getting Pg Connection timeout error in my application. I tried to fix it by upgrading the system memory, also updated the pg gem but the issue is still occurring. Anybody's help will be really appreciated. *(ActiveRecord::StatementInvalid) PGError: server closed the

Re: [Rails] PG CONNECTION TIME OUT ERROR

2013-04-08 Thread Loganathan Sellapa
, Apr 8, 2013 at 10:19 PM, Jordon Bedwell envyge...@gmail.com wrote: On Mon, Apr 8, 2013 at 11:42 AM, Loganathan Sellapa loganathan...@gmail.com wrote: I am frequently getting Pg Connection timeout error in my application. I tried to fix it by upgrading the system memory, also updated the pg

[Rails] session variable becomes nil after paypal redirect

2013-03-28 Thread Loganathan Sellapa
Hi All, I am using PAYAPAL payment type in my application where I am storing the user's product id in a session. But the session variable becomes nil when the page is redirected back to my application from PAYPAL website, any suggestion will be really appreciated. regards, Loganathan Mob: +91

Re: [Rails] session variable becomes nil after paypal redirect

2013-03-28 Thread Loganathan Sellapa
this is the real cause. Once i change rm to 1 my issue solved. So please check your passing param value to paypal. Thank you! SaraVanaN.P On Thu, Mar 28, 2013 at 6:54 PM, Loganathan Sellapa loganathan...@gmail.com wrote: Hi All, I am using PAYAPAL payment type in my application where I am

Re: [Rails] Help me about connect Facebook in Ruby on Rails

2013-03-14 Thread Loganathan Sellapa
http://railscasts.com/episodes/360-facebook-authentication regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Thu, Mar 14, 2013 at 4:04 PM, haxuan lac li...@ruby-forum.com wrote: I'm using RoR to create Demo

Re: [Rails] Re: how to set domain name in heroku

2013-03-10 Thread Loganathan Sellapa
Some heroku addon is available, pls chk it i forgotten the name. Regards, Logan Sent from mobile device. On Mar 11, 2013 10:40 AM, ayyappa nallala ayyappanall...@gmail.com wrote: where should i set the naked domain in godaddy -- You received this message because you are subscribed to the

[Rails] Fwd: Twitter bootstrap rails gem not working in production mode

2013-02-16 Thread Loganathan Sellapa
Hi All, I am using 'twitter-bootstrap-rails' in my rails app where I can run the application with bootstrap provided css successfully in development mode but the css is not taking effect in production mode, I hope something I am missing with the asset precompile. Copied below my gem file for y o

Re: [Rails] Fwd: Twitter bootstrap rails gem not working in production mode

2013-02-16 Thread Loganathan Sellapa
: RAILS_ENV=production bundle exec rake assets:precompile Try pre compile assets before depolying ! Thanks, Sai Kiran M On Sun, Feb 17, 2013 at 3:32 AM, Loganathan Sellapa loganathan...@gmail.com wrote: Hi All, I am using 'twitter-bootstrap-rails' in my rails app where I can run

[Rails] Fwd: Need suggestions for admin panel implementation

2013-02-12 Thread Loganathan Sellapa
HI All, I need to create the admin panel for my existing application where I need data manipulation from existing models(CRUD operation) , but also additional features should be support, like file conversions,S# upload and some more custom features those are not related to models. I know Active

Re: [Rails] Re: Fwd: HOW TO USE SSL IN SAVON

2013-01-24 Thread Loganathan Sellapa
Nope :( , currently consuming the api without SSL. regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Thu, Jan 24, 2013 at 9:02 PM, Almir Mendes li...@ruby-forum.com wrote: Hi Loganathan, Do you find a solution? I'm

Re: [Rails] Order by with first_name and also last_name

2013-01-18 Thread Loganathan Sellapa
Model.all(:order = 'first_name DESC, last_name DESC') and then do the interpolation regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Fri, Jan 18, 2013 at 4:43 PM, keerthi priya emailtokeerthipr...@gmail.com wrote:

[Rails] Fwd: HOW TO USE SSL IN SAVON

2013-01-08 Thread Loganathan Sellapa
HI All, I want to consume the SOAP apis using SSL in the SAVON gem, but I am facing the below error while trying to access the soap services. client = Savon.client(wsdl: https://xxx?WSDL;) client.operations HTTPI GET request to x (curb) HTTPI::SSLError: Curl::Err::SSLPeerCertificateError

[Rails] How to allow the user to user their own domain name

2012-12-06 Thread Loganathan Sellapa
HI All, I am currently having feature where my users to have a subdomain for their account like xxx.myaddress.com,yyy.myaddress.com these will point to the corresponding users . How can I implement the feature where user can enter their own domain name instead of sub domain? regards, Loganathan

Re: [Rails] How to allow the user to user their own domain name

2012-12-06 Thread Loganathan Sellapa
: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Thu, Dec 6, 2012 at 3:31 PM, Colin Law clan...@googlemail.com wrote: On 6 December 2012 09:18, Loganathan Sellapa loganathan...@gmail.com wrote: HI All, I am currently having feature where my users to have a subdomain

[Rails] How to remove the orignal file in carrierwave

2012-10-08 Thread Loganathan Sellapa
HI All, I am using the carrier wave gem for file uploading, and I am not able to delete the original file after uploading. I tried the below code but it didn't work, any help would be really appreciated. * after :store, :unlink_original def unlink_original(file)

Re: [Rails] Devise Gem

2012-09-25 Thread Loganathan Sellapa
Refer http://railscasts.com/ regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Tue, Sep 25, 2012 at 4:25 PM, keerthi priya emailtokeerthipr...@gmail.com wrote: Hi all i am learning how to implement devise

Re: [Rails] flash[:notice] not working

2012-09-10 Thread Loganathan Sellapa
Paste your code... Sent from Samsung Mobile. On Sep 10, 2012 1:58 PM, Colin Law clan...@googlemail.com wrote: On 10 September 2012 05:48, Manoj M. li...@ruby-forum.com wrote: Hi, anybody please help me out,am using rails 3 but using this flash[:notice] doesnot works, i have used this

Re: [Rails] Re: Assets are not compiling

2012-09-10 Thread Loganathan Sellapa
Fixed it by pasting the below code in production.rb. * config.serve_static_assets = true* regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Fri, Sep 7, 2012 at 2:33 PM, Loganathan Sellapa loganathan

[Rails] Authlogic: current user is nil, after adding http basic authentication in production environment

2012-09-09 Thread Loganathan Sellapa
Hi All, I have implemented http basic authentication in my application, after the implementation of basic http authentication, current user is always nil in production mode. Pasted below my code for your reference. In Application controller: def authenticate_user if (Rails.env.production?

Re: [Rails] Re: Assets are not compiling

2012-09-07 Thread Loganathan Sellapa
Thanks Steve I will do it and let you know. regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Fri, Sep 7, 2012 at 2:31 PM, sjm stevenjamesm...@gmail.com wrote: Hi, I had this problem too, but resolved it by creating

[Rails] Multilanguage Approach I18n

2012-09-07 Thread Loganathan Sellapa
Hi All, what is the common approach when dealing with multi language web sites in Ruby on Rails? - Language text files - Database driven approach Also Which will be faster? regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan

Re: [Rails] Multilanguage Approach I18n

2012-09-07 Thread Loganathan Sellapa
can add more entry to the en.yml you already have. You can also store the user's language preference in the cookies and in the DB. On Fri, Sep 7, 2012 at 9:35 PM, Loganathan Sellapa loganathan...@gmail.com wrote: Hi All, what is the common approach when dealing with multi language web

[Rails] Assets are not compiling

2012-09-06 Thread Loganathan Sellapa
Hi All, I have the css assets as in the below order . *Assets structure:* assets/stylesheets ---application.css.erb ie/application_ie.css.erb * In my layout file:* * %= stylesheet_link_tag application % !--[if IE] %= stylesheet_link_tag ie/application_ie %

Re: [Rails] Re: How to open the pdf from the server via database?

2012-08-29 Thread Loganathan Sellapa
+1 regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe http://vizualize.me/loganathan On Wed, Aug 29, 2012 at 2:57 PM, INDIAN RAILS DEVELOPER paritoshparitos...@gmail.com wrote: What all things you want to learn,i can teach you.email me on

Re: [Rails] Re: Need help to implement audio recording in rails application

2012-08-26 Thread Loganathan Sellapa
. But flash is going to die out, so are there any HTML5 alternatives for the proposed solution? 2012/8/26 Loganathan Sellapa loganathan...@gmail.com Sure, I am still searching for the tutorial to integrate red5 with ROR, yet I didn't find nice one,. regards, Loganathan ViewMe http

Re: [Rails] Re: Need help to implement audio recording in rails application

2012-08-26 Thread Loganathan Sellapa
PM, Dheeraj Kumar a.dheeraj.ku...@gmail.comwrote: You could use a HTML5 solution with a Flash fallback, to be more future-ready. Dheeraj Kumar On Sunday 26 August 2012 at 3:42 PM, Loganathan Sellapa wrote: Yes, but most of the media applications are still depends on Flash only

[Rails] Need help to implement audio recording in rails application

2012-08-23 Thread Loganathan Sellapa
Hi All, I want to integrate audio recording functionality in rails 3 application, where user can able record their voice and to share it, I don't know the way to proceed this. I googled and found that red5 with flash player is the solution for this,but I didn't find any tutorials to integrate

[Rails] How to define virtual attribute for date_select drop menu using active model

2012-08-14 Thread Loganathan Sellapa
Hi All, I am using active model for payment process in my application , i am not able to add field for date field, since it throws error as below *undefined method `card_expiration_date(3i)='*. *In model: * include ActiveModel::Validations include ActiveModel::Conversion extend

Re: [Rails] How to define virtual attribute for date_select drop menu using active model

2012-08-14 Thread Loganathan Sellapa
if I am wrong. regards, Loganathan ViewMe http://vizualize.me/loganathan On Tue, Aug 14, 2012 at 1:06 PM, Colin Law clan...@googlemail.com wrote: On 14 August 2012 07:50, Loganathan Sellapa loganathan...@gmail.com wrote: Hi All, I am using active model for payment process in my

Re: [Rails] How to define virtual attribute for date_select drop menu using active model

2012-08-14 Thread Loganathan Sellapa
will understand when I say Activemodel. regards, Loganathan ViewMe http://vizualize.me/loganathan On Tue, Aug 14, 2012 at 1:30 PM, Colin Law clan...@googlemail.com wrote: On 14 August 2012 08:44, Loganathan Sellapa loganathan...@gmail.com wrote: I thought it would create getter and setter

Re: [Rails] Difference between save and create ?

2012-07-27 Thread Loganathan Sellapa
Refer this link ' http://www.rorexperts.com/differences-between-create-and-save-methods-in-active-record-t1348.html ' regards, Loganathan ViewMe http://vizualize.me/loganathan On Fri, Jul 27, 2012 at 3:20 PM, manoj c. li...@ruby-forum.com wrote: difference between save and create -- You

Re: [Rails] Plugin help Tabbed view in Rails 3

2012-07-03 Thread Loganathan Sellapa
Try this 'http://rubygems.org/gems/tabs_on_rails' regards, Loganathan ViewMe http://vizualize.me/loganathan On Tue, Jul 3, 2012 at 1:14 PM, Shalini Sah shalinisah6...@gmail.comwrote: Hi, I am trying to create a tabbed view for my RoR application where I am trying to project the same

[Rails] How to send audio files using net/http

2012-06-21 Thread Loganathan Sellapa
HI All, I want to send audio file via http request as an api cal, not via form using net/http. I dont want to use any other gems. Please let me know how can be achieved. regards, Loganathan ViewMe http://vizualize.me/loganathan -- You received this message because you are subscribed to the

[Rails] Re: How to send audio files using net/http

2012-06-21 Thread Loganathan Sellapa
request.content_type = 'audio/amr' res = http.request(request) puts res.body* regards, Loganathan ViewMe http://vizualize.me/loganathan On Thu, Jun 21, 2012 at 11:47 AM, Loganathan Sellapa loganathan...@gmail.com wrote: HI All, I want to send audio file via http request as an api cal

Re: [Rails] What is the difference between Soap API and REST API?

2012-06-14 Thread Loganathan Sellapa
@Peter Hickman +1 :D regards, Loganathan ViewMe http://vizualize.me/loganathan On Thu, Jun 14, 2012 at 4:05 PM, Peter Hickman peterhickman...@googlemail.com wrote: Given that this is a generic question and has nothing to do with Ruby or Rails perhaps you should TRY GOOGLING FOR

[Rails] Need to Create Soap Web Service in Rails 3.2

2012-06-13 Thread Loganathan Sellapa
Hi All, I want to create an application which needs to provide SOAP services to multiple applications, I have googled and found that no plugins/gem were available to create soap web services except the wash_out gem for Rails 3. Also I am not sure whether it is good to go with the wash_out gem,

Re: [Rails] Need to Create Soap Web Service in Rails 3.2

2012-06-13 Thread Loganathan Sellapa
...@gmail.comwrote: On Wed, Jun 13, 2012 at 12:36 PM, Loganathan Sellapa loganathan...@gmail.com wrote: Hi All, I want to create an application which needs to provide SOAP services to multiple applications, I have googled and found that no plugins/gem were available to create soap web

Re: [Rails] How to upload a video in ruby on rails

2012-06-04 Thread Loganathan Sellapa
Hi Saritha, Checkout this http://www.pandastream.com/docs/. regards, Loganathan ViewMe http://vizualize.me/loganathan On Mon, Jun 4, 2012 at 2:01 PM, saritha chakilala li...@ruby-forum.comwrote: Can any one halp? how to upload a video in ruby on rails (ruby 1.8.7 and rails-2.3.8) --

Re: [Rails] Re: How to upload a video in ruby on rails

2012-06-04 Thread Loganathan Sellapa
Checkout any of these below for video upload. http://openrails.blogspot.in/2011/03/upload-videos-in-rails-using-floplayer.html https://rubygems.org/gems/paperclip-ffmpeg http://railscasts.com/episodes/134-paperclip regards, Loganathan ViewMe http://vizualize.me/loganathan On Mon, Jun 4,

Re: [Rails] Rails developer required.

2012-05-23 Thread Loganathan Sellapa
+1 :D regards, Loganathan ViewMe http://vizualize.me/loganathan On Tue, May 22, 2012 at 12:52 PM, Michael Pavling pavl...@gmail.com wrote: On 21 May 2012 22:57, Suraj B. li...@ruby-forum.com wrote: If you are experienced rails developer please let me know. worst job ad ever -- You

Re: [Rails] Is there a way to redirect from one controller action to another without a server trip?

2012-03-08 Thread Loganathan Sellapa
Create object for that controller then call. class A def a1 * invoke=B.new** invoke.action(args)* end end class B def action(args) something end end regards, Loganathan On Thu, Mar 8, 2012 at 5:17 PM, Pieter Hugo li...@ruby-forum.com wrote: Hi I want one

Re: [Rails] Re: Is there a way to redirect from one controller action to another without a server trip?

2012-03-08 Thread Loganathan Sellapa
On Thu, Mar 8, 2012 at 5:25 PM, Pieter Hugo li...@ruby-forum.com wrote: something like render :controller = othercontroller, :action = :otheraction, :params = params * Nope, I hope you cant call another controller action like this.* ? (preserving the params would be a sweet bonus :)

Re: [Rails] can i have two rails versions

2012-02-05 Thread Loganathan Sellapa
You can create the rails 3 application by 'rails new appname' And for rails 2 application '*rails_2.3.8_appname*' regards, Loganathan On Fri, Feb 3, 2012 at 9:23 PM, hanish jadala emailtohoneyr...@gmail.comwrote: hi i have installed rails3.2.1 and rvm but this had happen *** LOCAL GEMS ***

Re: [Rails] how to add mysql in rails 3.2.1

2012-02-05 Thread Loganathan Sellapa
gem 'mysql2', use -d option to specify the database like 'rails new appname *-d mysql*' regards, Loganathan On Fri, Feb 3, 2012 at 9:33 PM, honey ruby emailtohoneyr...@gmail.comwrote: hey everyone i have installed rails 3.2.1 and want to create app but i use mysql wht the gems need to add

Re: [Rails] Problem while creating new resource on ActiveAdmin

2012-01-26 Thread Loganathan Sellapa
...@googlemail.com wrote: On 26 January 2012 08:10, Loganathan Sellapa loganathan...@gmail.com wrote: HI All, I have installed the Active Admin successfully, but facing the following error while restarting the server after generating an resource. rails generate active_admin:resource item

[Rails] How to add multiple user create on single form using ActiveAdmin

2012-01-26 Thread Loganathan Sellapa
HI All, I am currently creating an Admin utility for courier management service, where I need to include a form to *submit two users(same model) on same form *, I don't know to implement exactly but duplicated the user form twice which is displaying the form twice on the browser but unable to

Re: [Rails] How to encode (.) Dot in url Rails

2012-01-22 Thread Loganathan Sellapa
, 2012 at 1:35 AM, Rob Biedenharn r...@agileconsultingllc.com wrote: On Jan 20, 2012, at 7:38 AM, Loganathan Sellapa wrote: Hi All, I am having routes like below to delete/list an user. map.connect 'developer/:user_name/delete',:controller=developers,:action=delete,:method=:delete You

[Rails] How to encode (.) Dot in url Rails

2012-01-20 Thread Loganathan Sellapa
Hi All, I am having routes like below to delete/list an user. map.connect 'developer/:user_name/delete',:controller=developers,:action=delete,:method=:delete map.connect 'developer/:user_name/list',:controller=developers,:action=list,:method=:get While listing the user by encoding the Dot

Re: [Rails] Re: How to encode (.) Dot in url Rails

2012-01-20 Thread Loganathan Sellapa
Hi Tim, I already tried with the get method too. but no luck. regards, Loganathan On Fri, Jan 20, 2012 at 6:33 PM, Tim Shaffer timshaf...@me.com wrote: You have the developer/:user_name/delete route set to use delete as the method, rather than get Since browsers usually don't support

Re: [Rails] Re: How to encode (.) Dot in url Rails

2012-01-20 Thread Loganathan Sellapa
Hi Colin That was an api call, so we cannot change the url. regards, Loganathan On Fri, Jan 20, 2012 at 6:44 PM, Colin Law clan...@googlemail.com wrote: On 20 January 2012 13:03, Tim Shaffer timshaf...@me.com wrote: You have the developer/:user_name/delete route set to use delete as