View Full Version : Ruby
Pages : 1 2 3 4 5 6 7
[
8]
9 10 11 12
- How to configure session_store as memcache on a different server?
- Can someone point me to the docs of STDIN, the methods it provides?
- Would it be easier allowing people to logon to my app with their google account (openid) and then sh
- Can I construct the text of a mail to be sent by code, without using or requiring any view at all?
- Does it have a local variable block like a normal render partial method?
- How are people documenting their non-public REST API?
- How do I write this so that the cursor does not move forward by two positions?
- Is there any way I can define a named_scope on Category that looks for the existence of Products usi
- If I have a namespace :admin, a resource :users, and a member GET :freeze — that's admin_user_free
- Is there any way to detect that you're in the console environment?
- If I want to override a method in a gem, where in my app do I put that, in lib?
- If I was thinking about opensourcing a handler for the google base api, should I just release the li
- How come <%= params[:a] %> gets the :a parameter from the url when running on webrick, but does not
- What's the best way to execute a rake task from within rails?
- How does the gem get used?
- Are there sane defaults, with the config file overriding those, or do they have to have a config fil
- If I want to use a form_form on a custom object, is it enough to define an 'attr_accessor' for each
- How do I get the current path when I'm in a partial?
- When current stable works and supports all the features, why give up the stability?
- Is there any way to temporarily override mass-assignment protection for a particular call?
- Is there a Rails plugin that helps you manage delayed_job?
- Is there a way I can test (in tests) the amount of sql statements executed for a given block?
- How can I make a cross site domain request with prototype?
- If I have a typo somewhere... which file to look for to correct it and remigrate?
- How am I supposed to update my column values as soon as a new user is created?
- Is there a way to use something like validates_ to scrub input into actual fields (e.g., prevent HTM
- How best would you call a class method if you had a string containing the class name?
- When writing a migration for a many-to-many join table, what should the columns be?
- Is there a way to clear the data for one table in rake?
- Where is rails3 at currently?
- What do people think of the SEQUEL ORM vs ActiveRecord?
- What's the easiest way to filter out HTML/JS/etc _input_ in rails?
- Does anybody know how I combine pseudo classes with css?
- Is there anything wrong in theory with having a model that has a boat load of columns?
- Is there a desktop shortcut key for suse?
- Is there a cheap way to extract XMP data from photos?
- Is there a ruby way to format the difference between two times?
- Is there any good reason to use rails instead of node.js?
- Is it more efficient to grab sums and averages directly in my sql query or to do the math in rails?
- What people think. should I restrict author deleting theyr comment when there is more than 2 replys?
- Would the best way to truncate a string in ruby be string[0..20] + "..." ?
- Is there a way to turn a string, say "person_addresses", into the value of the corresponding url hel
- What is the opposite of File.open() for external files?
- What is the opposite of File.open() for external files?
- If I split a string inside of an array while looping through it in a do block, why doesn't the split
- How do you get activerecord to use translations?
- If I have tables 'foos' and 'bars' and I want to create a join table, would I do script/generate mod
- What's a better state machine plugin, acts_as_state_machine or workflow?
- Is there a way, maybe with before_filters, to turn each occurence of a certain string on my rendered
- How to use case sensitive search with dynamic finders?
- How do I find out where the non sudo'd gem list gems live?
- Is there a way to call the render method outside of a controller in rails3?
- Is it possible to specify a name in respond_to different from the action?
- Is there a restriction in RESTful routes when it comes to decimals?
- How can I turn of SQL logging for script/server in development?
- If I have a really large group of directories, and I want them moved into an app with a generator, w
- How do I install a plugin from a branch on github ?
- How difficult is it to add a REST api to a ror app?
- Is there a convenient way to convert a directory name string into a format that adds slashes before
- Is there a library that lets me specify something like "yyyy-mm-dd" or "Mmm dd" instead of using Rub
- Is it possible to have dynamic columns for rails in mysql database?
- How do you check that a class is available without trying to instantiate it first?
- Is lisp still used a lot, or has it sort of evolved into scheme?
- Is there a quick way to make some sort of enumerable like an array that has numbers from 0 to 100, u
- Are ranges useful in ruby?
- Is there a more metaprogramming-like way to create a lazy accessor with initial data for an attribut
- Whats the best way for me to get a sum of a y that grouped by column z?
- How do I ensure a layout in application.html.erb works on a view?
- Whats the best way to see if a user has seen a page already?
- Whats the best way to see if a user has seen a page already?
- Are there any other methods in your User model that are overriding quests?
- Is it possible that this version of will_paginate does not work for 2.3.8?
- Can I generate a popup box from a controller with a yes/no option?
- If I have a controller called users, an action called from and on the index I have a state drop down
- How do I create a localhost which just shows all client headers in the logs?
- Is there a tutorial for datetime_selects anywhere?
- Is there any way to know if the request was xhr?
- If in my migration I specify a column has a boolean value, what happens if the value is null in the
- How do you handle RESTful routing when the mockup you're supposed to bring to life mixes the form to
- What's the best way to get debug info about a variable?
- Where did form_remote_tag go in rails 3 ?
- Is it easy to count the time a user is spending on a page between say "the page loads" and "the user
- Whats the idiomatic ruby way to use the same code for multiple values in case?
- How do I make a post redirect in code?
- Whats the usual way to create and name simple boolean accessors in ruby?
- Is there a best practice for what webserver to use with the rails stack?
- Can someone say a good ruby book. something what gets right into it and doesntbeat around the bushes
- How do I set the params of a url using link_to ?
- Can I move paths so that the rvm set pats are resolved before the other paths?
- If I'm writing a wrapper for the amazon api, and I need to introduce some error handling, what's the
- If I pastie what I've done can someone tell me if I'm along the right lines?
- How are you all seperating user pages from public pages ?
- Can someone help me make a multistep form?
- How can I install ruby 1.8.7 (I currently have 1.8.6) without reinstalling it, totally?
- Does Rails escape user submitted data automatically or do I need to escape data before insertion?
- What is the authorization gem to be used?
- How can I get the name of an uploaded file in a controller?
- When a moderator moderates a bunch of photos on a page (typically 28 of them at once), he'll select
- Does it make sense to send some JSON to the Photos controller and let it handle individual updates?
- If I had two separate apps conntected to the same database, both potentially doing updates on the sa
- How could I use the method "translate" in rails console?
- Is there a way to run a .rb file from irb and have the variables defined in the .rb file stay alive
- Does google care whether my url is /poem/11/my-title instead of /poem/my-title or even /my-title ?
- How come range 0..74 in a for I in ()-loop is successful but 0..75 returns an error: "bad value for
- Is there a trick to getting custom actions (outside of the normal CRUD actions) to work in rails 3?
- How do I run an update_all, to set the value of a column to the same as another column?
- Is there a way to view PDF files on a web page?
- Is there a way to ask the user to confirm an action in a migration?
- Is still beating his head on the wall... gah how hard can it be to just decrement an item count in a
- Can someone tell me how this route would look in rails 3?
- Whats a good ruby way to perform something on the first run of a loop and only the first run?
- How to declare to use the plugin instead of the gem?
- How do you handle shallow routes in rails 3?
- Is there anyway to reload application code without making thin restart ?
- What is the difference between gem Mail and the default Rails ActiveMailer?
- What's the best way to do routing for a join table controller?
- Is it possible to do a OR insted of AND when using the where method?
- Is there a ruby equivalent to python's fabric?
- How do I downcase the next letter in a regexp match in gsub?
- If I make a new module that calls a method and include that module into a class, how can I get the m
- How can I get script/generate to work with a gem I installed in bundler?
- Can unicorn be used as rails server for development?
- Where can I find documentation for the "get" verb in rspec-rails?
- Isnt that kinda negating the whole point of their service (to be a seamless way to use amazon withou
- Is there a guide that explains how rails 2 to 3 migration will work?
- If I have data in-memory, can I give it right to paperclip with a file name or do I need to save it
- How may I send a delete request with format?
- Is there anyway to have rails tell MySQL not to lock, or is this something I will have to configure
- Is there a way to get only valid dates on the date picker?
- How do I update from beta4 to rc?
- What do you guys here use to build a website/blog with ruby/sinatra?
- Is there a way to get a cleaner terminal view besides moving the app to the home directory on my com
- Is there any reason why someone won't want to use shallow routes?
- If I have employees has_many assignments and employees belong_to an organization, how do I get all a
- Is it possible to alter a table to use a string as a primary key with a migration?
- Can I attach a method to an object instead of a class?
- Whats a good text based web browser. links, lynx, w3m, etc.?
- What exactly does this error mean?
- Is the "match" route method in Rails 3 documented fully anywhere?
- If I want to import some data in relation to some already existing models - do I only create a contr
- Is there a way to remove an object from the memory ?
- Does anybody know if counter_cache is still broken in rails 3 with polymorphic associations?
- Is there a good way to do that , I want to attach the country of specific city I input , how can I d
- How does that interface with a rails app though?
- How do I handle custom date formats for my database fields?
- How do I force my rake tasks under /lib/tasks to load configuration information?
- Can someone tell me for how long does an user session lasts by default?
- How do I configure my routes so that if someone tries, say, /site/event/2 but Event.find_by_id(2) do
- Whats a good authentication plugin/gem that can easily be customized for an app that uses 'log in wi
- Is there a rake task I can use to just load the db/schema.rb for the test environment?
- Is there a better way to assign a number of form fields to attributes on a model than obj.attributes
- How do I get rails to repopulate my form erb using the attr_accessors and not self[:attr] ?
- Whats a good authentication plugin/gem that can easily be customized for an app that uses 'log in wi
- How do I prevent a user from changing specific attributes of their own User model, given a role?
- When calling 'post :create' in a Rails 3 controller test, how can I set the request format?
- Can someone tell me a good authentication plugin that can be customized to work both with twitter/fa
- Is skip_before_filter :verify_authenticity_token still necessary in 2.3 if I'm posting to a REST ser
- Is tere any way I can get f.error_messages to use a lookup table for field names for the display mes
- How do I remove the :id in a migration?
- Where are you searching that you can only find rails server info from 2007?
- How can I merge two activerecord tables together?
- Is there some way in ruby to create a file from a string ?
- Is there a way I can debug why Rails thinks a particular route doesn't allow posts when I want it to
- Did the rails3rc release specify a recommended version of ruby?
- When I install rspec and rspec-rails using bundler (both now show up in my "bundle show"), I try "./
- If I want to get the value of auth token I use the name :authenticity_token, right?
- Can these extensions be written using non-blocking calls or select?
- Is there a flag to ruby 1.9.1 to assume that .rb files are UTF-8?
- Is there an equivalent of Perls "$&" in Ruby?
- Is there a way to rebuild the models and views to a table/project after you add in a column post tab
- Is one reason for the status quo that: extensions are based on 3rd party code (e.g. mysql c driver
- Did you know I can't match a route containing '~' (tilde) on rails 2.3?
- Is it possible to run all specs without running db:test:load?
- Can I create an url like objects?
- How do you specify a gem with a git repo in a jeweler?
- If a gem has a generator & requires a named route & a singleton resource, should the generator add t
- What do you think ive been doing all day, sitting here staring at my screen?
- How do you handle resources that require the parent for authorization purposes?
- How can I do a cascading :include when the tables have the same column names?
- When you use a_m_c, does it mean, that rails starts using the _with_cloudfront method?
- If a module is in another file, do I have to require it first before I use include?
- Can someone suggest what ActiveRecord data type should I use for percentage from 0 to 100, the simpl
- When I create a new scaffold rails add a comma after t.string in my migration file what can I be doi
- What's a good book/site to learn data structures and patterns for working with them?
- What is the point of /spec/requests, doesn't it do the same thing as /spec/routing?
- Is it possible to modify datetime_select to display a 12-hour select list for the hour and an am/pm
- Is it possible to use rails with ruby 1.9.1?
- When I add a line to the routes.rb file, must I reload it somehow for the new directive to take effe
- What do I need on windows to connect to heroku and make an app?
- If I have passenger&apach as well as passenger&nginx which one does the system preference pane refer
- Is there a way to create an enumerator from a function?
- Does anybody have a clue why I can't use "require 'rails'" in an ordinary ruby application?
- How do I change a particular line across 61 files using I guess ack-grep?
- Is there a way for me to access the postData (accessed via params[:post]) in my before_create callba
- Is it possible to use the image_tag method outside of a rails application?
- How do I track down an undefined local variable or method error?
- Is there a plugin for making resource URLs like /posts/4-title-of-the-post ?
- What is the best way to turn an md5 into a string only containing letters?
- Is there some kind of session key that is uniqe for the current user?
- Is there any rails magic that will allow me to populate the city dropdown box after a state is selec
- How would I modify this http://gist.github.com/499399 to only count tags where the users.age_verifie
- What is the best choice for to run ror on apache?
- How would I pass a variable/paramter to a controller if a routing condition is met?
- Is there a way I can look at heroku's server logs somehow so I can find the source of this error?
- What's the correct (rails) way to validate email addresses?
- Is there a way to save and validate a single field?
- What's the modern way of forcing SSL on people in an app ?
- If I call a class method, why do I need to do self << class to get into the proper context for alias
- Is there something extra I have to do in migrations to set these relations up in postgres?
- Is there a way to check if a variable is an integer?
- If I include Devise::TestHelpers in a Rspec describe call should the methods defined in that module
- When loading the console and if I wanna search through modles with the find_by_name can I just use w
- If email-spec isn't finding an email. and that's the only error it gives, where do I need to start l
- Do I have to install ruby first to be able to use gem?
- Is there any way to capture exception when mysql is down?
- How does RubyonRails compare to django?
- Is this the best place for 1.9 rdoc?
- Whats the procedre for forking a gem these days?
- What is a good strategy for making my code compatible with 1.8 and 1.9, when I have my own random.rb
- How is using jQuery instead of Prototype in Rails 3.0.0rc supposed to work?
- Do people build their own CMS or use 3rd party when designing a website for clients to administer th
- Is it easy to switch JS frameworks in rails?
- How can I reference a factory in FactoryGirl from the inside of itself?
- Can I get a filters collection anywhere from in the controller?
- Can I call another class inside a model method?
- How do I get my .pdf to show up in the browser and not download a file?
- Is it not allowed to use pass in a heredoc as a method parameter?
- What does using a plugin like acl9 or declarative auth do for you that cancan doesn't?
- Is it reasonable to test inter-model relationships in a unit test?
- Are there known problems using mysql 5.5 with rails?
- If my model validated_length_of my field, is there any way to get the min/max values in my view?
- Would you guys suggest moving a yet to be released Rails 2 project over to Rails 3 yet?
- How does the current implementation work?
- Do you guys put foreign key constraints in database level in Rails?
- Can I stop ruby-mode in emacs from inserting "# -*- coding: utf-8 -*-" type comments on buffer save?
- When a city belongs to a state, and I need to redirect to the page of the city in the city's control
- If my object has @o.wednesday and I have the string "wednesday" how can I get this value?
- Is there any way I could determine the column names by looking at the code or the database?
- Is Iron Ruby 100% compatible with the "real" ruby interpreter?
- Does anybody know, will FFI ship with MRI starting from 1.9.2 release?
- Where can I find pluralization rules for I18n in Rails 3?
- How can I tell bundler to install ri and rdoc documentation along with (possibly a subset) of gems?
- Is there a way to make an object evaluate as a value (an implicit method call on itself) when a meth
- Is there an easy way to select all objects with a start_date in a month?
- What happens if they have to change the api in a final version?
- Can someone take a quick look at my code?
- Can people comment on the utility of what I've written?
- Is there a reason this couldn't be used in some big giant system?
- Is it possible to use a named scope while finding with a :join ?
- How does the general population of #ror feel about mongodb vs mysql?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Content Relevant URLs by vBSEO 3.6.0