[Rails] Re: Radiant could not be initialized. Please verify that vendor/radiant contains a complete copy of the

2012-10-17 Thread Nirav
Hi Jones, Thanx for the reply, There is no .gitmodules file in root. is there compulsory to be in root application? because application runs locally fine but there is an issue for ec2 server. please give me guide jones. Thanking You, Nirav On Tuesday, October 16, 2012 8:49:55 PM UTC+5:30,

[Rails] Re: Radiant could not be initialized. Please verify that vendor/radiant contains a complete copy of the

2012-10-17 Thread Nirav
Hi Jones, Here are give directory of vendor/radiant /app /features /lib /public /spec /vendor /bin /config /db /script /test CHANGELOG CONTRIBUTORS README INSTALL LICENSE radiant.gemspec Rakefile

[Rails] Password sent to Server

2012-10-17 Thread Avi
Hello All, Is there any generic way in rails 3, to prevent password to go into the server? In my rails application, while creating a new user, I don't want password to be sent to the server. How can I do that ? Thanks. -- You received this message because you are subscribed to the Google

[Rails] Re: Rails CMS best fit

2012-10-17 Thread Erwin
Seems that Alchemy CMS engine mounted at subdomain level could do the job... it's a pure content management app... managing only content will test it On 17 oct, 00:33, Erwin yves_duf...@mac.com wrote: I already have a project with multiple subdomains under development ( Rails 3.2.8 , MySQL,  

[Rails] Nested partial model input forms:

2012-10-17 Thread Soichi Ishida
Rails 3.1.3 I have a model, Plan that has columns :flight_name_id(integer). From the user point of view, searching flights from the places of departure and destination is in fact logically reasonable. So, my forms ask users to input places first, then Ajax updates the available flight plans in

Re: [Rails] Password sent to Server

2012-10-17 Thread Jim Ruther Nill
On Wed, Oct 17, 2012 at 2:17 PM, Avi aavinash.beh...@gmail.com wrote: Hello All, Is there any generic way in rails 3, to prevent password to go into the server? In my rails application, while creating a new user, I don't want password to be sent to the server. How can I do that ? if you

Re: [Rails] Password sent to Server

2012-10-17 Thread Avi
Filter parameters seems not to be working. On Wednesday, October 17, 2012 12:50:50 PM UTC+5:30, jim wrote: On Wed, Oct 17, 2012 at 2:17 PM, Avi aavinas...@gmail.com javascript:wrote: Hello All, Is there any generic way in rails 3, to prevent password to go into the server? In my

Re: [Rails] Password sent to Server

2012-10-17 Thread Jim Ruther Nill
On Wed, Oct 17, 2012 at 3:31 PM, Avi aavinash.beh...@gmail.com wrote: Filter parameters seems not to be working. As Colin usually say, please don't top post. What made you think it isn't working? can you paste some code and part of the log as proof that it is not working? If you added

Re: [Rails] Re: form tag is self-closing before input fields .. (HAML generator used)

2012-10-17 Thread Colin Law
On 16 October 2012 23:15, Erwin yves_duf...@mac.com wrote: Thanks , I had that feeling... I'll test it by tomorrow ... is there any links related to this being illegal ? just for my notetaker pad ... If ever you have any markup and you just want to check whether it is legal you can paste it

Re: [Rails] Re: form tag is self-closing before input fields .. (HAML generator used)

2012-10-17 Thread Jordon Bedwell
On Wed, Oct 17, 2012 at 2:37 AM, Colin Law clan...@googlemail.com wrote: On 16 October 2012 23:15, Erwin yves_duf...@mac.com wrote: Thanks , I had that feeling... I'll test it by tomorrow ... is there any links related to this being illegal ? just for my notetaker pad ... If ever you have

Re: [Rails] Re: form tag is self-closing before input fields .. (HAML generator used)

2012-10-17 Thread Colin Law
On 17 October 2012 09:13, Jordon Bedwell envyge...@gmail.com wrote: On Wed, Oct 17, 2012 at 2:37 AM, Colin Law clan...@googlemail.com wrote: On 16 October 2012 23:15, Erwin yves_duf...@mac.com wrote: Thanks , I had that feeling... I'll test it by tomorrow ... is there any links related to

Re: [Rails] form tag is self-closing before input fields .. (HAML generator used)

2012-10-17 Thread Frederick Cheung
On Tuesday, October 16, 2012 6:55:04 PM UTC+1, Hassan Schroeder wrote: On Tue, Oct 16, 2012 at 10:43 AM, Erwin yves_...@mac.com javascript: wrote: The form is inside a table, enclosing a tr That's not legal markup. Either wrap the form around the entire table or put it completely

Re: [Rails] Re: form tag is self-closing before input fields .. (HAML generator used)

2012-10-17 Thread Jordon Bedwell
On Wed, Oct 17, 2012 at 3:34 AM, Colin Law clan...@googlemail.com wrote: I don't understand what you mean by it's not allowed. If it parses without an error then how can it not be allowed? Or are you pointing out that the spec is inconsistent? Why would one want to do form / anyway? That's

Re: [Rails] How to remove the orignal file in carrierwave

2012-10-17 Thread rubyonrailsx
How about File.unlink instead of File.delete -- rubyonrailsx Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, October 8, 2012 at 4:42 PM, Loganathan Sellapa wrote: -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group.

Re: [Rails] How to remove the orignal file in carrierwave

2012-10-17 Thread Colin Law
On 8 October 2012 09:42, Loganathan Sellapa loganathan...@gmail.com wrote: 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

[Rails] Testing Capybara element not found

2012-10-17 Thread BalaRaju Vankala
I have implemented a model/views/controllers for a model and created cucumber testing which was successful. Then I implemented solr search for the records then some of tests getting failed which have no connection with solr search Could you please provide me with some solution. The error is like

Re: [Rails] Testing Capybara element not found

2012-10-17 Thread Colin Law
On 17 October 2012 10:44, BalaRaju Vankala foreverbal...@gmail.com wrote: I have implemented a model/views/controllers for a model and created cucumber testing which was successful. Then I implemented solr search for the records then some of tests getting failed which have no connection with

[Rails] NoMethodError (undefined method `service_options' for nil:NilClass)

2012-10-17 Thread Nirav
hi i am using rails 2.3.4 and i am facing no method error there is possibility to not find method but my question is - is there possibility to error occurred because of empty table? or error in another controller or helper? error trace: Processing QuoteRequestsController#create (for 127.0.0.1

Re: [Rails] NoMethodError (undefined method `service_options' for nil:NilClass)

2012-10-17 Thread Colin Law
On 17 October 2012 12:14, Nirav nirav.mtech...@gmail.com wrote: hi i am using rails 2.3.4 and i am facing no method error there is possibility to not find method but my question is - is there possibility to error occurred because of empty table? or error in another controller or helper?

[Rails] Not all javascript files for asset pipeline:

2012-10-17 Thread Soichi Ishida
Rails 3.1.3 Not all javascript files are necessary for every page of app. If I put all JavaScript files in app/assets/javascripts/ , all of them are compiled and read in every page. I believe this is a waste of memory space and CPU load. Is there anyway to avoid it? I suppose we can put some

Re: [Rails] Not all javascript files for asset pipeline:

2012-10-17 Thread Jordon Bedwell
On Wed, Oct 17, 2012 at 6:47 AM, Soichi Ishida li...@ruby-forum.com wrote: Not all javascript files are necessary for every page of app. If I put all JavaScript files in app/assets/javascripts/ , all of them are compiled and read in every page. I believe this is a waste of memory space and

Re: [Rails] Not all javascript files for asset pipeline:

2012-10-17 Thread aash dhariya
I think the file that you do not want to compile using asset pipeline should be removed from the manifest file in app/assets/javascripts/ - application.js. If you want some of the files that belong to a specific page, then it's better to create a manifest file: file_name.js. Include the files

Re: [Rails] Not all javascript files for asset pipeline:

2012-10-17 Thread Colin Law
On 17 October 2012 12:47, Soichi Ishida li...@ruby-forum.com wrote: Rails 3.1.3 Not all javascript files are necessary for every page of app. If I put all JavaScript files in app/assets/javascripts/ , all of them are compiled and read in every page. I believe this is a waste of memory space

[Rails] Re: NoMethodError (undefined method `service_options' for nil:NilClass)

2012-10-17 Thread Nirav
Hi colin, Thanx for reply here is no data in service_descriptions table so i got your point but i am working on existing app but can't get service_options method in file of quote_request_controller.rb . can you please give me some area to search in app. i searched in all included and require

[Rails] 401 Unauthorized

2012-10-17 Thread Saravanan P
Hi all, I creating both web site and mobile app. For this i am using common database to store data for both web site and mobile app. I developing mobile app through phonegap. While i submit form and try to store data through mobile app, i am getting 401 Unauthorized errors. Kindly help me...

Re: [Rails] 401 Unauthorized

2012-10-17 Thread Jordon Bedwell
On Wed, Oct 17, 2012 at 8:17 AM, Saravanan P saravana...@shriramits.com wrote: I creating both web site and mobile app. For this i am using common database to store data for both web site and mobile app. I developing mobile app through phonegap. While i submit form and try to store data

[Rails] generate 10 UUID records and save it it database in rails

2012-10-17 Thread ruby rails
I need to create certain number of UUId records(based on the selection of drop down) and save it in the database. Now I am generating only one unique id. Can this be done in the model in this way. Or do I need to write a helper file for that?? def generate_unique_token=(value)self.secret =

Re: [Rails] Re: NoMethodError (undefined method `service_options' for nil:NilClass)

2012-10-17 Thread Colin Law
On 17 October 2012 14:14, Nirav nirav.mtech...@gmail.com wrote: Hi colin, Thanx for reply here is no data in service_descriptions table so i got your point but i am working on existing app but can't get service_options method in file of quote_request_controller.rb . can you please give me

Re: [Rails] 401 Unauthorized

2012-10-17 Thread Colin Law
On 17 October 2012 14:34, Jordon Bedwell envyge...@gmail.com wrote: On Wed, Oct 17, 2012 at 8:17 AM, Saravanan P saravana...@shriramits.com wrote: I creating both web site and mobile app. For this i am using common database to store data for both web site and mobile app. I developing mobile

Re: [Rails] 401 Unauthorized

2012-10-17 Thread Saravanan P
Started GET /mobile_register?callback=jQuery1710381242371091_1350476385099auth_token=user%5Bfirst_name%5D=Testuser%5Blast_name%5D=testuser%5Bmobile_number%5D=estuser%5Bemail%5D=admin%

Re: [Rails] generate 10 UUID records and save it it database in rails

2012-10-17 Thread Jordon Bedwell
On Wed, Oct 17, 2012 at 8:34 AM, ruby rails li...@ruby-forum.com wrote: I need to create certain number of UUId records(based on the selection of drop down) and save it in the database. Now I am generating only one unique id. Can this be done in the model in this way. Or do I need to write a

Re: [Rails] Re: NoMethodError (undefined method `service_options' for nil:NilClass)

2012-10-17 Thread Nirav
Hi Colin, Thanks for reply, I have gone through your post. but i add dummy data in my service_descriptions table but it will be error in it. App didn't get service_options so i can't locate service_options. i searched in controllers or helper methods which is related to

[Rails] Re: Not all javascript files for asset pipeline:

2012-10-17 Thread masta Blasta
Soichi Ishida wrote in post #1080153: Rails 3.1.3 Not all javascript files are necessary for every page of app. If I put all JavaScript files in app/assets/javascripts/ , all of them are compiled and read in every page. I believe this is a waste of memory space and CPU load. Yeah this is

[Rails] Re: Rails CMS best fit

2012-10-17 Thread masta Blasta
Kad Kerforn wrote in post #1080098: I already have a project with multiple subdomains under development ( Rails 3.2.8 , MySQL, Haml , Devise , Cancan ) www.myproject.com is the main site many subdomains will be created : sub1.myproject.com, sub2.myproject.com, sub3.myproject.com, ...

Re: [Rails] Re: NoMethodError (undefined method `service_options' for nil:NilClass)

2012-10-17 Thread Colin Law
On 17 October 2012 15:00, Nirav nirav.mtech...@gmail.com wrote: Hi Colin, Thanks for reply, I have gone through your post. but i add dummy data in my service_descriptions table but it will be error in it. App didn't get service_options so i can't locate service_options. i searched in

[Rails] drop down menu bar

2012-10-17 Thread roelof
Hello, What's the best way to make a menu like this one : http://test.tamarawobben.nl Can I best use a form to make the drop down or can I better use a gem. The part under content is a list of categories which the user has entered. Roelof -- You received this message because you are

[Rails] Freelance Ruby Developer For Hire

2012-10-17 Thread Okpala Ikenna N.
Hi All, I am a Ruby Developer... I am looking for a new ROR (sub) contract/freelance role. In my last contract i actively contributed to the web project and using Rails, Postgresql, CoffeeScript, jQuery, TDD/BDD based testing with Ruby(RSpec, Cucumber, Capybara) libraries to develop web

[Rails] Job | Career opportunity for RoR Architecture

2012-10-17 Thread imran shaikh
Hi , We Have career opportunity with our US Base MNC client for RoR Architecture. *Education : Related Degree in CS/EC/TC/Bsc/BCA/MCA…….* *Experience: Up to **10** years* *Location : Chennai,Hyderabad,Bangalore* * * *Overview of the Positions: Mobile Application

[Rails] [JOBS] Senior Software Architects Engineers needed for immediate starts

2012-10-17 Thread Alaric Turner
Hi Everyone, Just so you have a little context, we (SearchTribes) work in partnership with a handful of early stage and fast growth tech companies; we're responsible for the initial stages of their team building process, so that they can focus their resources on what they do best - which is

[Rails] uninitialized constant Rake::DSL

2012-10-17 Thread Christoph
Hey, I've got the following problem on our jenkins server: https://gist.github.com/460e96b3e77a7345b2b8 Locally it is running fine and I don't see any differences, rake version is 0.9.2.2 on both machines gem list on the server returns: https://gist.github.com/8a01bd5e502d32bb6d46 Does anyone

Re: [Rails] Re: NoMethodError (undefined method `service_options' for nil:NilClass)

2012-10-17 Thread Nirav
Hi Colin, Thanks for your valuable comment, I really need more work on it. yes. there is a table service_options. in file that you have explained in previous comment class ServiceDescription ActiveRecord::Base has_many :services, :through = :service_options has_many :service_options

Re: [Rails] 401 Unauthorized

2012-10-17 Thread Saravanan P
i am using Rails 3.2.8 and i am trying to create user (using devise gem). On Wed, Oct 17, 2012 at 7:07 PM, Saravanan P saravana...@shriramits.comwrote: Started GET

[Rails] Ruby On Rails - Create With Code

2012-10-17 Thread Sunil M S
We’ve built a site where you can learn Python, Ruby, and JavaScript in a fun, engaging and interactive way. Our courses are designed for beginners, and we have multiple ways to help you learn, including live chat, Twitter, QA, hints, videos and background material. If you don’t know which

[Rails] Re: Problem setting log level

2012-10-17 Thread Daniel Sundqvist
Christian: Hey, that was actually the problem! :) I was having a blank in the path of my project directory, and removing that fixed the problem. Great, this was beginning to get somewhat frustrating... I'm am running Debian Wheezy with rvm and Ruby 1.9.3-p286 so the setup is pretty similar.

[Rails] Re: No stacktrace from faulty view code

2012-10-17 Thread Daniel Sundqvist
This issue is solved in my older thread here: http://www.ruby-forum.com/topic/4406056 Thanks anyway guys. Daniel -- 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

[Rails] autolog: easily debug-like logging on the fly in your Rails app

2012-10-17 Thread gsw
If it helps anyone developing Rails apps or gems, I wrote a shortcut for set_trace_func, so next time you want to just add a line before and after some function you are trying to debug you can have Ruby temporarily output every line, method, etc. executed. Also, it lets you define the format,

[Rails] Re: drop down menu bar

2012-10-17 Thread roelof
Hello, I found out that with Twitter Bootstrap you can make such a menu. The only thing I don't find it how I can make a list of categories which the user has entered in the model Category Roelof Op woensdag 17 oktober 2012 16:13:26 UTC+2 schreef roelof het volgende: Hello, What's

[Rails] Re: session_options[:secure] resets session_id on every request

2012-10-17 Thread Noha MS
Hi I'm having the same issue but this is causing an InvalidAuthenticityToken exception to be thrown. Were you able to fix this issue? Thanks! -- 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

[Rails] chef recipe to bootstrap a server for rails (ruby, phusion, nginx)

2012-10-17 Thread S Ahmed
Hi, Does anyone know of a good reliable chef recipe to bootstrap a Rails environment? I'm looking for ideally rails, phusion, nginx, mysql, etc. -- 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

[Rails] Re: Not all javascript files for asset pipeline:

2012-10-17 Thread Soichi Ishida
Thanks everyone. I was worried about both server and client but especially about the client side. Sounds like I should not be worried about it too much. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] Re: Use Ransack with radio buttons for boolean values

2012-10-17 Thread Michael Pope
I use a drop down box as then I can select true, false or don't care (blank). = f.select :my_bool_field_eq, options_for_select([false, true]), include_blank: true -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] Why is max-age in config.static_cache_control being ignored?

2012-10-17 Thread Cary Cherng
In config/environments/production.rb I have set config.serve_static_assets = true config.static_cache_control = public, max-age=1000 But the response header for application-fingerprint.css is something like the following where you can see max-age hasn't been changed to 1000. I'm assuming this