similar to: What to do before launching v1.0?

Displaying 20 results from an estimated 7000 matches similar to: "What to do before launching v1.0?"

2006 Apr 02
5
Showing current user''s information and saving
Hi, I am logging users in and keeping them in session. The problem I am having is showing only a certain logged in user''s information. In the Adverts_Controler: def show @advert = Advert.find(params[:id]) end I am also having issues with saving an advert for an user: def create @advert = Advert.new(params[:advert]) if @advert.save flash[:notice] = ''Advert
2006 Apr 02
1
One to Many Relationship Issues
Hi, I am having issues with a one to many relationship(it never works :-)). Jokes aside, I am getting an error: Mysql::Error: #23000Cannot add or update a child row: a foreign key constraint fails: INSERT INTO adverts (`image_url`, `price`, `title`, `website_url`, `description`, `user_id`) VALUES(''bb'', 22.0, ''aa'',
2007 Aug 29
2
assign local variable instead of instance variable.
Hello, I have a view that generates a list of adverts with <%= render :partial => ''advert'', :collection => @adverts %> I have the render call described with @controller.template.should_receive(:render).with(:partial => ''advert'', :collection => @adverts) Bu when i was about to describe my partial i got stuck. My partial _advert.rhtml:
2006 Jul 21
1
Passing a variable between methods
Hi, I am trying to add search functionality to may application. I am struggeling to pass my query to the controller and then show all my search results in another view. How would I do this? Model: class Advert < ActiveRecord::Base belongs_to :user def self.search(query) if !query.to_s.strip.empty? tokens = query.split.collect {|c| "%#{c.downcase}%"}
2009 Mar 23
6
PDFs prawn gem freeze into the app...
I was having great success with creating PDFs with prawn, I followed Ryan Bates latest screencast. All good. Trouble is when i come to deploy the app on my webhost I ran into trouble. Rails 2.3 app. I did, "sudo rake gem unpack prawn" to freeze it in. I put the app on my webhost but it won''t start, some error saying it can''t find prawn. Any ideas? (summary: works
2009 Feb 09
9
fastercsv, freezing into vendor/gems
I''m using fastercsv such that in my rake file I''m doing this. require ''fastercsv'' It works fine on my Mac. I need to freeze this gem into the app though so my rake tasks work on the production machine. ----------- I spent about two hours though this weekend trying to get this Gem "frozen" into the vendor/gems folder. I tried all sorts, I ... -
2010 Feb 23
1
Redmine and hoptoad notifier
Hi, Has anyone ever managed to make the hoptoad notifier work with Redmine? I always get time outs when posting an issue to the redmine server... Cheers, -- 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
2009 Oct 17
3
How to get listed in dir.xiph.org?
I've been trying to tweak my icecast.xml file to get listed in xip.xiph.org, but am not making any progress. I'm running icecast 2.3.1 and darkice 0.19 Here are what I think are the relvant parts of icecast.xml: <directory> <yp-url-timeout>15</yp-url-timeout> <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url> </directory> and
2009 Mar 01
15
Ajax in Rails
Hi All, New to the group, and new to learning rails. I''m having some trouble, i''ve done a few tutorials on creating some small apps with rails and am now starting to play around myself. I''ve been trying to create a simple form which when a user enters any data that data is displayed as a preview elsewhere on the page instantly, just like when creating an advert with
2006 Jul 02
5
Pretty URLs -> Routes
Hi I am having issues with getting my pretty urls to work. routes.rb: map.connect '':user'' , :controller => ''front'' , :action => ''list'' , :filter => ''user'' front_controller.rb: def list @advert_pages, @adverts = paginate :adverts, :per_page => 10 @user =
2004 Sep 24
1
Restoring PDC after Crash, Confused
Samba PDC system drive crashed. running 3.01. rebuilt system drive - kept the hostname the same, restored contents of /etc/samba, plus /etc/shadow, /etc/group, /etc/password PDC isn't recognizing machines for SOME machines. Users appear fine. I know that I should have gotten the domain sid previously by doing "getlocalsid" and then restored it by doing "smbpasswd -W
2008 Dec 21
1
flash fails to work on Los Angeles Times website - fix
Hello, I have a 32-bit install of C5.2 on my Intel Centrino Laptop (2005). The Adobe flash plugin works fine in Firefox in all cases except on the Los Angeles Times website http://www.latimes.com. I was baffled by this for a few months, since it works on another 32-bit C5.2 box. When I realized that the only real difference was that the laptop had no LAMP install, and both had the same elaborate
2006 Aug 12
2
Ferret Issues
Hi, I have installed the ferret gem (on WIN XP). My search and result view is working, but it comes back with empty results all the time. It seems like ferret is building the index (there is 3 binary files in the index directory). If I add the line: acts_as_ferret :fields =>
2012 Aug 09
3
Pop quiz: Where do you watch for job postings?
Hi all, I''m looking for some advice on where we should be putting an advert if we are looking to hire a full time rails developer? Or turning it around what websites (or mailing lists) do folks here use to if they feel the need for a change in view from their desk? A few details to narrow down scope since it might affect the advice, apologies in advance, trying to NOT make this an
2010 Dec 09
2
Skip validation on nested attribute
Hi, I have a two models, advert and address. An advert has one address. On my advert form I have a nested form of the address. But I only want to create the nested address depending on the adver kind. how can I skip the nested attribute validation? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Jul 02
6
making something available application wide
I''d like to display a banner on every page. Ultimately I''ll be tweaking which banner is displayed via different controllers but initially I''d just like to set a single banner application wide and display it in my "_header", a partial I include in all layouts. I''ve got a BannerAdvert model, simple. If I''m in my welcome controller index action
2008 Aug 30
1
Heist of MagicJack SIP credentials?
While I myself am not a MagicJack user, I'm curious as to whether anyone here has managed to heist their MagicJack account's sip credentials, and use them to terminate calls using asterisk. Apparently it's as simple as sniffing the SIP credentials. If so, said person would enjoy unlimited termination for $20 year while retaining the flexibility of setting their CallerID to a
2006 Jun 09
9
Opinions on catch-all routing?
I remember reading somewhere a tip on improving your search engine ranking, by forming URLs that included relevant text, e.g. www.domain.com/article/man_eats_hat. In the rails app that I''m writing, I''ve noticed I can set this up very easily by appending the post title (after downcase.split.join(''_'')) to the post link. So, blog.com/posts/4 can easily also be
2011 Nov 22
7
rake aborted with ruby on rails
when i run * rake db:create* * * WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rake-0.9.2.2/lib/rake/rdoctask.rb DEPRECATION WARNING: Rake tasks in
2003 Apr 13
1
users cannot change their passwords in domain
hello, samba. i have running samba 2.2.8a from the ports on the system: FreeBSD bingo.ru 4.7-STABLE FreeBSD 4.7-STABLE #2: Tue Mar 25 20:30:51 YEKT 2003 root@bingo.ru:/usr/obj/usr/src/sys/bingo i386 with config: === cut === [global] workgroup = bingo netbios name = emily server string = bingo samba daemon hosts allow = 192.168.2. 127. hosts deny = 192.168.1. interfaces = xl2 bind