[Rails] Re: RVM question

2015-06-02 Thread Joshua Rivers
I always begin new rails projects by first creating the project directory $ mkdir foo $ cd foo/ $foo/ Once in the directory I make a .ruby-version and .ruby-gemset file $foo/ touch .ruby-version .ruby-gemset In the ruby-version file you just specify the version of ruby you wish to use 2.2.

[Rails] Re: Please can Someone help me install Fedena School system on my cpanel...

2015-03-05 Thread omomia joshua
Hello,pls i would also need help installing fedena for my school clients,pls can you send me your email so that we come to a compromise on this..thank you On Thursday, December 19, 2013 at 10:41:40 AM UTC, Haris Khan wrote: > > Dear, I may help you installing Fedena on your computer! > > Alterna

Re: [Rails] Re: Seeing Novel Rails Hack Attempts

2015-01-06 Thread Joshua Siler
rack/server.rb:264:in `start' railties (4.0.13.rc1) lib/rails/commands/server.rb:84:in `start' railties (4.0.13.rc1) lib/rails/commands.rb:76:in `block in ' railties (4.0.13.rc1) lib/rails/commands.rb:71:in `tap' railties (4.0.13.rc1) lib/rails/commands.rb:71:in `' bin/

[Rails] Re: Seeing Novel Rails Hack Attempts

2015-01-06 Thread Joshua Siler
.com/admin/jobs/somerandomstring work correctly, hitting our controller and redirecting the user as intended. On Tuesday, January 6, 2015 10:00:11 AM UTC-7, Joshua Siler wrote: > > It's one of two exceptions. Either "RuntimeError: Circular dependency > detected while autoloadin

[Rails] Re: Seeing Novel Rails Hack Attempts

2015-01-06 Thread Joshua Siler
com/admin/jobs/h.delayType)c(h,b),h Does not. On Tuesday, January 6, 2015 9:50:03 AM UTC-7, Frederick Cheung wrote: > > > > On Tuesday, January 6, 2015 4:43:03 PM UTC, Joshua Siler wrote: >> >> We do get a fair amount of requests to random HTTP verbs and file types, &g

[Rails] Re: Seeing Novel Rails Hack Attempts

2015-01-06 Thread Joshua Siler
't know what kind of > request that is. > Kent > > On Monday, January 5, 2015 6:28:56 PM UTC-7, Joshua Siler wrote: >> >> Hi, >> >> We're getting some weird exceptions that look like hack attempts, and I'm >> hoping someone can help us un

[Rails] Seeing Novel Rails Hack Attempts

2015-01-05 Thread Joshua Siler
Hi, We're getting some weird exceptions that look like hack attempts, and I'm hoping someone can help us understand them. It looks like an intentionally malformed URL is somehow causing unexpected behavior. Here's what we're seeing. These URLS: https://gadgetco.hiringthing.com/admin/jobs/h.del

[Rails] Getting Started Guide section 4.2: Could not find generator controller?

2013-12-30 Thread Joshua Kleckner
Hello. Brand new to Rails. Following along on the Getting Started guide, stuck on section 4.2 where upon entering: $ rails generate controller welcome index > I receive: Could not find generator controller Everything seemed fine until this point. Any help is appreciated. -- You recei

[Rails] SMS ruby on rails

2013-12-15 Thread Joshua Joseph
Hi, Good day, can somebody help to sent sms messages on mobile using ruby on rails. I know twillio can help me. But i want to use my own cellphone number. I dont want to use third party plugins. Hope someone can help me. By the im from Philippines. Sorry for wrong english. Waiting for reply.

[Rails] Re: Disable Rails caching in test environment?

2013-08-09 Thread Joshua Pinter
You can also use the following in your environment configuration: config.cache_store = :null_store Cheers, JP On Thursday, 2 September 2010 07:20:30 UTC-6, Tony Primerano wrote: > > Is there a way to make Rails.cache.fetch always execute the code block > in the test environment? (disable cac

[Rails] Rails Developer Intern to Full-Time

2013-04-16 Thread Joshua Shane Martin
We're looking for a passionate Rails Developer to join our team. We've built a social network for higher education called Nfoshare, that allows students to connect to their classmates, professors, and other learning pros, while also helping the school gain valuable insight into their learning b

Re: [Rails] Re: Deploying from Windows to Linux?

2013-02-25 Thread Joshua Shane Martin
Server and output the same in JSON with a REST > interface. > > At the same time, I'd like to explore this TorqueBox/JRuby. Where do I > start? > > On Mon, Feb 25, 2013 at 7:01 AM, Joshua Shane Martin > wrote: >> >> I don't know much about the sqladapter ge

[Rails] Re: how to create custom yaml

2013-02-24 Thread Joshua Shane Martin
Is the result a Rails model? If so, easy, just build a string and insert your variables into the string. You can do this in a model method like so: def to_yaml yaml = "---" yaml += "- name: #{self.device_name or wherever you store this}" blah blah so on return yaml end On Thursday, Fe

[Rails] Re: Load local files

2013-02-24 Thread Joshua Shane Martin
Your link would render a link on the local user's computer to "file:///C:/Videos/file.swf" - basically, it would link to that file on the *user's computer*, not the file on the server. You will have to either place the file within the Web application (under public or assets), *or* build a contr

[Rails] Re: Deploying from Windows to Linux?

2013-02-24 Thread Joshua Shane Martin
I don't know much about the sqladapter gem and how to get it working on Linux (what dependencies, libraries are needed, etc.), but I had a similar situation where I needed to store my data in an SQL Server backend. In my case, I used TorqueBox (a nice JBoss-based Rails server running on JRuby),

[Rails] Re: cancan breaks scoped mass assignment

2013-01-29 Thread joshua
I'm having that issue as well; I just told it to authorize_resource and left off the load_resource.. But somehow I don't think that's actually a fix, or even a secure way of handling things.. Almost a year since you posted this.. Did you figure it out? I wonder if this is a bug in CanCan On F

Re: [Rails] New Ruby On Rails Group to Connect Midwest Developers

2012-12-11 Thread Joshua Woodward-Clarke
Very good point, especially to a facebook link. Atleast in this case the title gave some description. > Generally don't bother to look at unexplained links. Why should anyone > be interested? > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"

Re: [Rails] Simpleton routes

2012-09-17 Thread Joshua Niehus
Indeed, you are right! I saw what I was doing wrong. Thank you, Josh "In your wisdom, I am humbled" On Sunday, September 16, 2012 10:26:02 PM UTC-7, Hassan Schroeder wrote: > > Actually, your app goes to some blank page. The guide I linked to > earlier explains how to control that :-) > > If

Re: [Rails] Simpleton routes

2012-09-16 Thread Joshua Niehus
None of those seem to help, Rails just goes to some blank page with either: a) render :nothing => true b) head (blah blah...) I have an ajax request for the server to check something for me but i do not want to be redirected anywhere when I call it... not to a blank page or some generated templa

[Rails] Simpleton routes

2012-09-16 Thread Joshua Niehus
Is there some way to keep rails from trying to open a page on a route? Basically I just want to send an ajax query to: http://localhost:3000/method/multiply?num1=3&num2=4 while staying on http://localhost:3000/index Thanks Josh -- You received this message because you are subscribed to the Go

[Rails] Re: Re: Re: Extracting information out of a database column

2012-09-02 Thread Joshua Baldock
Michael Pavling wrote in post #1074025: > "match" is a good place to start. > > class MyModel < AR::Base > # my model has a big string field called "note_details", from > # which I want to extract the username and hostname values > > def username > note_details.match(/The (\S*)

[Rails] Re: Re: Extracting information out of a database column

2012-08-31 Thread Joshua Baldock
Michael Pavling wrote in post #1074020: > On 31 August 2012 08:20, Joshua Baldock wrote: >> Splitting the string and then storing them as additional attributes to >> the instance variable that contains the rest of the selected table >> values. > > Do you have an example

[Rails] Re: Extracting information out of a database column

2012-08-31 Thread Joshua Baldock
Michael Pavling wrote in post #1074016: > On 31 August 2012 07:41, Joshua Baldock wrote: >> I have an existing database that im building a rails app on top of. One >> of my columns 'message' is a long string that I would like to be able to >> query and split int

[Rails] Re: Extracting information out of a database column

2012-08-31 Thread Joshua Baldock
Jordon Bedwell wrote in post #1074013: > On Friday, 31 August 2012 01:42:10 UTC-5, Ruby-Forum.com User wrote: > > I don't quite understand exactly what you mean but it sounds to me like > you > want a custom serializer. > http://stackoverflow.com/questions/4472479/custom-serialization-for-fields-i

[Rails] Extracting information out of a database column

2012-08-30 Thread Joshua Baldock
Hi All, I'm new to rails and am trying to tackle a problem that I can't seem to find the right solution for. I have an existing database that im building a rails app on top of. One of my columns 'message' is a long string that I would like to be able to query and split into various attributes to

[Rails] Re: Cucumber/RSpec ::: Capybara? Webrat What am I using??

2012-06-22 Thread Joshua Muheim
It seems that Capybara is the default now, and Webrat was the default back in 2010 or so when the RSpec Book was printed. (I'm not 100% sure about this though.) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rai

[Rails] Cucumber/RSpec ::: Capybara? Webrat What am I using??

2012-06-14 Thread Joshua Muheim
Hey everybody I'm currently reading through the Pragmatic Programmers RSpec book, and I really enjoy it. But I’m facing some problems because of the fact that the book is already some years old, I guess. I have installed rvm and use Ruby 1.9.3, and I didn’t really get some Rails code examples to

[Rails] Re: rake db:setup doesn't run migrations on test db?

2012-06-13 Thread Joshua Muheim
Oscar Del Ben wrote in post #1064417: > You should use rake db:test:prepare That's clear to me, I just find it strange that although db:setup creates a test db for me and runs migrations on the development db, it doesn't run the migrations on the test db. -- Posted via http://www.ruby-forum.co

[Rails] rake db:setup doesn't run migrations on test db?

2012-06-13 Thread Joshua Muheim
Hey everybody I just noticed that rake db:setup doesn't seem to run migrations on the test db (although it creates it if it's not existing)?! Is this normal behavior? And if so, why? Thanks for help, Josh -- Posted via http://www.ruby-forum.com/. -- You received this message because you are s

[Rails] Re: database.yml and .gitignore

2012-06-07 Thread Joshua Muheim
> # git status > # git rm config/database.yml --cache Notice: it's --cached, not --cache. -- 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@g

[Rails] Re: bundle install results in "Symbol not found: _SSL_SESSION_free (LoadError)"

2012-06-04 Thread Joshua Muheim
By the way, I have the latest 3.2.6 XCode installed (I'm using Snow Leopard). -- 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.

[Rails] bundle install results in "Symbol not found: _SSL_SESSION_free (LoadError)"

2012-06-04 Thread Joshua Muheim
Hey everybody I just installed RVM. I never had any issues with my OSX's default Ruby 1.8.7, but for a project I want to work on I need a newer version, specifically 1.9.3-p0. So I installed it. Sadly, when doing rails new bla I get the following error (right after bundle install is run): /Use

[Rails] Re: Beginning with BDD: Rspec or Cucumber? What is better documented?

2012-05-31 Thread Joshua Muheim
Hey guys. I finally got "The RSpec book" and afte reading some pages I'm really confident it was the right choice. I already learned that Cucumber first was planned to be a part of RSpec, and so it still is an integral part of it. The book teaches how to use both of them and in which areas one

[Rails] Re: Beginning with BDD: Rspec or Cucumber? What is better documented?

2012-05-23 Thread Joshua Muheim
Thank you for this very useful reply, Robert. I decided to go with the RSpec book now, because from its foreword I can tell that it's not only about RSpec, but it's also about Cucumber (and many other accompanying tools, too), so I'm quite confident I will get a good introduction in both tools

[Rails] Re: Beginning with BDD: Rspec or Cucumber? What is better documented?

2012-05-23 Thread Joshua Muheim
Thank you for your opinion, thiagocifani. This sounds interesting. But I fear a bit that it's too much to dive into at one time if I don't concentrate on one single framework. Do you think different? As said before, I don't really have an idea about anything yet, so maybe it truly IS a good ide

[Rails] Beginning with BDD: Rspec or Cucumber? What is better documented?

2012-05-22 Thread Joshua Muheim
Hey everybody I'm sorry, I know that this question seems to arise every few moments, but I think in my case it's a bit special (but doesn't everybody?). Well, I'm working with RoR on a private level since v1.0, and my knowledge about both Ruby and Rails are on a basic level (but definitely does e

[Rails] Rails Developer Needed (Telecommute Only)

2012-04-08 Thread joshua
I'm building a Rails-driven social selling Website - more details will be provided after signing a non-disclosure agreement. I'm looking for a Rails developer with experience in Rails 3.1+, jQuery, Solr/Sphinx/other search, MySQL, testing, and other goodies that come with Rails/Ruby development.

Re: [Rails] Displaying videos

2011-12-19 Thread Joshua Woodward-Clarke
I would sugest using DownloadHelper http://www.downloadhelper.net/ (firefox extention) or http://keepvid.com/ (online site) to download the files. Then probably FormatFactory http://www.formatoz.com/ for any converrsions that you need to do. On Fri, Dec 16, 2011 at 6:16 PM, Brynjolfur Thorvardsso

[Rails] Problem using github gem on Windows 7

2011-10-23 Thread Joshua H.
Hi all, I'm new to this and trying to set up my dev environment on a Window 7 x64 machine. I used the latest version of RailsInstaller to start with. I'm running into a problem using the github gem. When I try 'gh create-from-local', I get: "You must 'gem install win32-open3' to use the github

[Rails] Re: Asset link in production is incorrect

2011-09-09 Thread Joshua Partogi
onfig.assets.enabled = true > > > in your application.rb or elsewhere, 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 R

[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: Instead of: I am using this config line in application.rb, which means my css is precompiled Bundler.require *Rails.groups(:assets => %w(development test)) What am I missing here? Thank you for you

[Rails] Difficulty figuring out this model association..

2011-07-18 Thread Joshua Kappers
Essentially, I want to achieve something like this: http://pastie.org/private/0yuhxeqyheqov3pzkhnga Item model that can contain many Items that are required to create that Item. I'm new to rails, and having a hard time figuring out how to make this happen. Any guidance, is greatly appreciated. -

[Rails] Re: Translate (internationalize) entire pages - best practice?

2011-03-28 Thread Joshua D.
Stefano wrote in post #986389: > Is it a good idea to store entire pages so possibly a lot of text in a > redis database or key driven storage? Or is it more to translate > little stuff like buttons, links, etc. Hi Stefano, just curious about the outcome at your side, what solution did you end up

[Rails] [PR] #PgEast schedule up!

2011-03-08 Thread Joshua D. Drake
The PostgreSQL Conference East is in NYC this year and the schedule has just been published. As a note there is a full day RoR class happening at the conference. March 08, 2011: Celebrating 15 years of PostgreSQL, early. Following on the smashing success of PostgreSQL Conference West, The Postgre

[Rails] PgEast Content, Rails training + MongoDB!

2011-03-01 Thread Joshua D. Drake
Hello, The PostgreSQL Conference is pleased to announce that its East content is now up. East, held in NYC is from 03/22 - 03/25 and we have a full day RoR training on the 22nd. If using the most scalable and durable Relational (FOSS) database is up your alley, this is the conference is up your a

[Rails] MongoDB at PostgreSQL Conference East

2011-02-03 Thread Joshua D. Drake
Hello, I wanted to let you folks know that MongoDB is having a track at PostgreSQL Conference East and is currently looking for people to speak. The deadline is the 10th, so if you are interested now is the time! http://www.postgresqlconference.org/ Joshua D. Drake -- PostgreSQL.org Major

Re: [Rails] Re: Re: how to create console application

2011-01-27 Thread Joshua Fenio
On Thu, Jan 27, 2011 at 2:31 AM, Priya D. wrote: > I'm creating a new object for a class using irb. At that time, if the > object is created successfully, a new console should be open. The newly > opened console should act as the created object. > > so that i can execute all the instance methods

[Rails] Re: rails/ruby test - error report without line numbers

2010-12-23 Thread Joshua S.
I posted an unpleasant solution on stackoverflow: http://stackoverflow.com/questions/4521203/ruby-tests-error-messages-dont-include-line-numbers-or-file-name/4521275#4521275 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "

[Rails] rails/ruby test - error report without line numbers

2010-12-23 Thread Joshua S.
Hi all, I'm new to Rails and new to Rails testing. I have a few questions: First, the most important question. How do I get line numbers to be reported with my errors when testing. Here is what I get back on a typical error: j...@josh-laptop:~/d/test$ ruby unit/line_test.rb -n test_update Loade

[Rails] Developers Wanted

2010-12-09 Thread Joshua Martin
her Web-related technologies such as JBoss Torquebox, Apache Solr, PDF, etc. Any interest, suggestions, comments, code, etc. would be greatly appreciated!! A Google Group has been started at http://groups.google.com/group/journey-talk -- _____ Joshua S. Martin -- Yo

Re: [Rails] Re: CanCan issue when being very specific

2010-12-02 Thread Joshua Martin
on Rails: Talk" group. > To post to this group, send email to rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrai

Re: [Rails] CanCan issue when being very specific

2010-12-02 Thread Joshua Martin
scribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com > . > For more options, visit this grou

Re: [Rails] Techlive - IT War Room in The Cloud

2010-10-15 Thread Joshua Martin
to rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- _

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

2010-10-12 Thread Joshua Partogi
s ran? Thanks heaps in advance for your help. Kind regards, 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 email to rubyonrails-t...@googlegroups.com. To unsubscribe

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

2010-10-12 Thread Joshua Partogi
s ran? Thanks heaps in advance for your help. Kind regards, 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 email to rubyonrails-t...@googlegroups.com. To unsubscribe

Re: [Rails] How do I convert this active record query to a rails 3 query

2010-10-08 Thread Joshua Martin
roups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- _ Joshua S. Martin -- You received this

[Rails] PostgreSQL Conference West Talks are up

2010-09-30 Thread Joshua D. Drake
Hello, The talk descriptions for the upcoming PostgreSQL Conference West are up: https://www.postgresqlconference.org/2010/west/talks There is a great talk on managing lots (10,000) ruby apps with PostgreSQL. Joshua D. Drake -- PostgreSQL.org Major Contributor Command Prompt, Inc: http

[Rails] Helpers in Lib Modules

2010-09-23 Thread Joshua Martin
. -- _ Joshua S. Martin -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-tal

[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 wrote: > On Wed, Sep 15, 2010 at 5:08 PM, Joshua Partogi > > wrote: > > Hi Nick, > >

[Rails] Re: Re: Should web tests have fixtures?

2010-09-16 Thread Joshua Muheim
radhames brito wrote: > fixtures are hard to maintain and impractical comprared to factories, > factories are pluging/gems that create object dinamicly as needed so > you > can do thing like this > > i have 100 users > > with that the factory will create on the fly 100 users and you can later >

[Rails] Re: Rails and database connection pooling

2010-09-15 Thread Joshua Partogi
Hi Nick, Thank you for the response. You mentioned that database connection pool is created according to demand. What does that mean? Does it mean if there are more users it will open more connection thus create more connection pool? Thanks heaps in advance. Kind regards, Joshua On Sep 6, 4:32

[Rails] Re: Should web tests have fixtures?

2010-09-15 Thread Joshua Muheim
Thanks for your answer, Robert. > I'm not exactly sure what you mean by "web testing." I mean the integration tests, where one programs a browser to do some stuff, e.g. "open website", "enter stuff into form", "press submit", "assert pattern xy exists" etc. > Here are the various levels of tes

[Rails] Should web tests have fixtures?

2010-09-15 Thread Joshua Muheim
xtures for web testing? Or am I completely on the wrong track, and CakePHP's doing everything the right way? Thanks a lot for answers, Joshua -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails

[Rails] Rails and database connection pooling

2010-09-05 Thread Joshua Partogi
database connection? Does different app server handles connection pooling differently [i.e passenger, unicorn, mongrel, thin] ? Or does app server doesn't really care about this? Thank you very much in advance for your help and insights. Kind regards, Joshua. -- http://twitter.com/s

[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 t

[Rails] PgWest 2010 (second call)

2010-08-24 Thread Joshua D. Drake
Following on the smashing success of PostgreSQL Conference East, PostgreSQL Conference West, The PostgreSQL Conference for Decision Makers, End Users and Developers, is being held at the Sir Francis Drake Hotel in San Francisco from November 2nd through 4th 2010. Please join us in making this the l

[Rails] Failing in getaddrinfo in net/http framework

2010-08-20 Thread Joshua Tidsbury
Hello, I'm hitting a frustrating issue with my most recent rails application deployment. It's running on an OSX 10.6.4 server, with ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10.4.0], and rails 2.3.8. It's an intermittent issue, but results in the stack trace I've posted at the bottom of t

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

2010-07-27 Thread Joshua Partogi
? Thank you very much in advance for your help. Kind regards, 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 email to rubyonrails-t...@googlegroups.com. To unsubs

Re: [Rails] Re: how do i open virtual rails with vdi file extension?

2010-07-22 Thread Joshua Martin
Ware player? > > On Jul 22, 6:43 pm, Joshua Martin wrote: > > This is a VMWare image... You need the free VMWare Player... > > > > > > > > On Thu, Jul 22, 2010 at 9:32 PM, Rich d wrote: > > > i just downloaded virtual rails1.1.vdi I need to know what softwa

Re: [Rails] how do i open virtual rails with vdi file extension?

2010-07-22 Thread Joshua Martin
ubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- _ Joshua S. Martin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: T

Re: [Rails] Rails on BSD

2010-07-08 Thread Joshua Martin
bscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- _ Joshua S. Martin CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains informatio

[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 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. -- http

Re: [Rails] Re: Covert HTML to PDF

2010-06-18 Thread Joshua Martin
gt; rubyonrails-talk+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- _ Joshua S. Martin CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s)

Re: [Rails] Covert HTML to PDF

2010-06-17 Thread Joshua Martin
oup, send email to rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- _ Joshua S. Martin CONFIDENTI

[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 wrote: > Hi Joshua, > > On Mon, Jun 14, 2010 at 7:12 AM, Joshua Partogi > > wrote: > > Hi all, > > > I want to aut

[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 -- http://twitter.com

[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 -- http

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

2010-06-01 Thread Joshua Partogi
aring. Kind regards, Joshua On Jun 1, 3:10 am, Mirko wrote: > Do you mean rescuing or raising ActiveRecord::NotFound? > > On Jun 1, 4:54 am, "Jeffrey L. Taylor" wrote: > > > Quoting Joshua Partogi : > > > > Hi all, > > > > I want to be able to disp

[Rails] Showing 404 page from controller in Rails 3

2010-05-31 Thread Joshua Partogi
assistance. I really appreciate it. Kind regards, 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 email to rubyonrails-t...@googlegroups.com. To unsubscribe from

[Rails] Re: Looking for Easy Rails hosting

2010-05-24 Thread Joshua Partogi
re you can pay flat fee for a year. Kind regards, 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 email to rubyonrails-t...@googlegroups.com. To unsubscribe from t

[Rails] Re: Get System Variable

2010-05-24 Thread Joshua Martin
For anyone still interested, I found that I can use ENV['JBOSS_HOME'] on JRuby; haven't checked if it works on C Ruby, but I would guess it does. On Mon, May 24, 2010 at 2:13 PM, Joshua Martin wrote: > Does anyone know how I can get a system variable like JAVA_HOME or > J

[Rails] Get System Variable

2010-05-24 Thread Joshua Martin
Does anyone know how I can get a system variable like JAVA_HOME or JBOSS_HOME from within Rails/Ruby? -- _ Joshua S. Martin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this g

[Rails] Plugin Architecture

2010-05-19 Thread Joshua Martin
) -- _ Joshua S. Martin -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-tal

[Rails] Re: Saving Restful routes path in database

2010-05-18 Thread Joshua Partogi
, Joshua On May 18, 10:57 pm, Tim Shaffer wrote: > Should be possible. When you call bar_path(1) it just returns a string > like "/bar/1" which you can then save in the database. > > Can you clarify what "it doesn't work" means when you try this: <%= > link

Re: [Rails] Re: Rails Database Configuration

2010-05-18 Thread Joshua Martin
uestion is, how would I make an SQL or CSV export (within Rails) of only certain data in the database (the key here being only certain data) ? On Tue, May 18, 2010 at 1:38 PM, Marnen Laibow-Koser wrote: > Joshua Martin wrote: > > I'm building an application in which I'd

[Rails] Rails Database Configuration

2010-05-18 Thread Joshua Martin
I'm building an application in which I'd like groups of users to have their own dedicated MySQL/SQLite database for the application. How can I configure Rails so that ActiveRecord uses that group's dedicated database from the start? -- _____ J

[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 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. > >

[Rails] Saving Restful routes path in database

2010-05-18 Thread Joshua Partogi
s possible with rails? Thank you very much in advance for your help. Kind regards, Joshua -- http://twitter.com/scrum8 -- 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 gro

Re: [Rails] CRM system in rails

2010-05-16 Thread Joshua Martin
s-talk+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- _ Joshua S. Martin CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains

Re: [Rails] from string to field name

2010-05-14 Thread Joshua Martin
s.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- _ Joshua S. Martin CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney client or other

Re: [Rails] form_for Values Are Not Visible

2010-05-14 Thread Joshua Martin
at 9:25 AM, Colin Law wrote: > On 14 May 2010 14:08, Joshua Martin wrote: > > You might need to keep that nickel Bill (: > > > > I've removed all the :size elements from the form and validated the page > > XHTML strict using W3C's validator. > > > &g

Re: [Rails] form_for Values Are Not Visible

2010-05-14 Thread Joshua Martin
ason. On a related note, I have a drop down and it's value IS set to the object's attribute. On Fri, May 14, 2010 at 4:04 AM, clanlaw wrote: > On 14 May 2010 02:22, Joshua Martin wrote: > > I'm using this form in an edit page to update a person. For some weird > &

[Rails] form_for Values Are Not Visible

2010-05-13 Thread Joshua Martin
ag "Update Person", :class => "button button-right" %> <% end %> -- _ Joshua S. Martin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send

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

2010-05-09 Thread Joshua Partogi
, 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 email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-tal

Re: [Rails] Re: Using self. Can you newbify this for me?

2010-05-06 Thread Joshua Martin
omagically? On Thu, May 6, 2010 at 2:37 PM, Joe Smith wrote: > > Joshua Martin wrote: > >> Also, you should put return li at the end; you >> don't have to, but it just makes the code easier to read. >> > > Oddly most ruby style guides I've seen disagr

Re: [Rails] Using self. Can you newbify this for me?

2010-05-05 Thread Joshua Martin
oglegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- _ Joshua S. Martin CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney client

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

2010-04-28 Thread Joshua Partogi
internet facing apps where we don't know how many users that will be accessing the app, how many connection pool should we provide ? Can anyone share their experience on this to enlighten me? Thank you very much in advance for the insights. Kind regards, Joshua -- http://twitter.com/scrum8 --

Re: [Rails] Re: Find by Date Regardless of Time

2010-04-27 Thread Joshua Martin
Ah, I see. Thanks! On Tue, Apr 27, 2010 at 4:20 PM, Frederick Cheung < frederick.che...@gmail.com> wrote: > > > On Apr 27, 9:07 pm, Joshua Martin wrote: > > I have a datetime field in the database. How do I find records for a > > particular date regardless of the tim

[Rails] Find by Date Regardless of Time

2010-04-27 Thread Joshua Martin
I have a datetime field in the database. How do I find records for a particular date regardless of the time of day? The method I'm trying does not work.. tasks.find(:all, :conditions => ["date == ?", Date.today]) -- _____ Joshua S. Martin CO

  1   2   3   >